Skip to content

Commit

Permalink
Bootstrap 4 colour preview not working jdorn#718
Browse files Browse the repository at this point in the history
  • Loading branch information
gbisurgi committed Apr 17, 2020
1 parent f77cb2e commit 4bd87a4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/editors/colorpicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ import { extend } from '../utilities.js'

export class ColorEditor extends StringEditor {
postBuild () {
if (window.Picker) this.input.type = 'text'
if (window.Picker) {
this.input.type = 'text'
}
this.input.style.padding = '3px'
}

setValue (value, initial, fromTemplate) {
Expand Down

0 comments on commit 4bd87a4

Please sign in to comment.