// Fix bug JQuery on handler
This commit is contained in:
1 parent
56230a1f53
commit
616cc91eb2
2 files changed
+6
-6
No files matched your search
+3
-3
@@ -848,13 +848,13 @@ $(document).ready(function()
|
|||||||
toggleMultishopDefaultValue(v, key.substr(24, len - 25));
|
toggleMultishopDefaultValue(v, key.substr(24, len - 25));
|
||||||
});
|
});
|
||||||
|
|
||||||
$(".copy2friendlyUrl").on('keyup change',function(e){
|
$(document).on('keyup change', '.copy2friendlyUrl', function(e){
|
||||||
if(!isArrowKey(e))
|
if(!isArrowKey(e))
|
||||||
return copy2friendlyURL();
|
return copy2friendlyURL();
|
||||||
});
|
});
|
||||||
|
|
||||||
// on live will make this binded for dynamic content
|
// 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(typeof e == KeyboardEvent)
|
||||||
if(isArrowKey(e))
|
if(isArrowKey(e))
|
||||||
return;
|
return;
|
||||||
@@ -862,7 +862,7 @@ $(document).ready(function()
|
|||||||
updateCurrentText();
|
updateCurrentText();
|
||||||
});
|
});
|
||||||
|
|
||||||
$(".copyMeta2friendlyURL").on('keyup change',function(e){
|
$(document).on('keyup change', '.copyMeta2friendlyURL', function(e){
|
||||||
if(!isArrowKey(e))
|
if(!isArrowKey(e))
|
||||||
return copyMeta2friendlyURL()
|
return copyMeta2friendlyURL()
|
||||||
});
|
});
|
||||||
|
|||||||
+3
-3
@@ -46,21 +46,21 @@ $(document).ready(function(){
|
|||||||
});
|
});
|
||||||
|
|
||||||
// if count warnings
|
// if count warnings
|
||||||
$('#linkSeeMore').on('click', function(e){
|
$(document).on('click', '#linkSeeMore', function(e){
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
$('#seeMore').show();
|
$('#seeMore').show();
|
||||||
$(this).hide();
|
$(this).hide();
|
||||||
$('#linkHide').show();
|
$('#linkHide').show();
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
$('#linkHide').on('click', function(e){
|
$(document).on('click', '#linkHide', function(e){
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
$('#seeMore').hide();
|
$('#seeMore').hide();
|
||||||
$(this).hide();
|
$(this).hide();
|
||||||
$('#linkSeeMore').show();
|
$('#linkSeeMore').show();
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
$('#hideWarn').on('click', function(e){
|
$(document).on('click', '#hideWarn', function(e){
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
$('.warn').hide('slow', function (){
|
$('.warn').hide('slow', function (){
|
||||||
$('.warn').remove();
|
$('.warn').remove();
|
||||||
|
|||||||
Reference in new issue
Block a user