Skip to content

Commit

Permalink
Fix up string styling in timepicker
Browse files Browse the repository at this point in the history
  • Loading branch information
Dogfalo committed Apr 26, 2018
1 parent f58ce4a commit de402e4
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions js/timepicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -254,11 +254,9 @@

_pickerSetup() {
let $clearBtn = $(
'<button class="btn-flat timepicker-clear waves-effect" style="visibility: hidden;" type="button" tabindex="' +
(this.options.twelveHour ? '3' : '1') +
'">' +
this.options.i18n.clear +
'</button>'
`<button class="btn-flat timepicker-clear waves-effect" style="visibility: hidden;" type="button" tabindex="${
this.options.twelveHour ? '3' : '1'
}">${this.options.i18n.clear}</button>`
)
.appendTo(this.footer)
.on('click', this.clear.bind(this));
Expand Down

0 comments on commit de402e4

Please sign in to comment.