// Fix bug JQuery on handler

This commit is contained in:
Jerome Nadaud
2013-11-06 15:49:44 +01:00
parent 56230a1f53
commit 616cc91eb2
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -848,13 +848,13 @@ $(document).ready(function()
toggleMultishopDefaultValue(v, key.substr(24, len - 25));
});
$(".copy2friendlyUrl").on('keyup change',function(e){
$(document).on('keyup change', '.copy2friendlyUrl', function(e){
if(!isArrowKey(e))
return copy2friendlyURL();
});
// on live will make this binded for dynamic content
$(".updateCurrentText").on('keyup change',function(e){
$(document).on('keyup change', '.updateCurrentText', function(e){
if(typeof e == KeyboardEvent)
if(isArrowKey(e))
return;
@@ -862,7 +862,7 @@ $(document).ready(function()
updateCurrentText();
});
$(".copyMeta2friendlyURL").on('keyup change',function(e){
$(document).on('keyup change', '.copyMeta2friendlyURL', function(e){
if(!isArrowKey(e))
return copyMeta2friendlyURL()
});