commit
3bc87fb945
|
|
@ -256,6 +256,12 @@
|
|||
|
||||
$el.val(prefix + self.formatValue()).trigger('oc.inputPreset.afterUpdate')
|
||||
})
|
||||
this.$src.on('paste', function() {
|
||||
if (self.cancelled)
|
||||
return
|
||||
|
||||
setTimeout(function() {$el.val(prefix + self.formatValue())}, 100)
|
||||
})
|
||||
|
||||
this.$el.on('change', function() {
|
||||
self.cancelled = true
|
||||
|
|
|
|||
Loading…
Reference in New Issue