diff options
Diffstat (limited to 'settings/js/personal.js')
-rw-r--r-- | settings/js/personal.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/settings/js/personal.js b/settings/js/personal.js index 65bc88d2098..b0bfa8eb230 100644 --- a/settings/js/personal.js +++ b/settings/js/personal.js @@ -31,6 +31,14 @@ jQuery.fn.keyUpDelayedOrEnter = function (callback, allowEmptyValue) { cb(); } }); + + this.bind('paste', null, function (e) { + if(!e.keyCode){ + if (allowEmptyValue || that.val() !== '') { + cb(); + } + } + }); }; |