// Fix bug JQuery on handler
This commit is contained in:
+3
-3
@@ -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()
|
||||
});
|
||||
|
||||
+3
-3
@@ -46,21 +46,21 @@ $(document).ready(function(){
|
||||
});
|
||||
|
||||
// if count warnings
|
||||
$('#linkSeeMore').on('click', function(e){
|
||||
$(document).on('click', '#linkSeeMore', function(e){
|
||||
e.preventDefault();
|
||||
$('#seeMore').show();
|
||||
$(this).hide();
|
||||
$('#linkHide').show();
|
||||
return false;
|
||||
});
|
||||
$('#linkHide').on('click', function(e){
|
||||
$(document).on('click', '#linkHide', function(e){
|
||||
e.preventDefault();
|
||||
$('#seeMore').hide();
|
||||
$(this).hide();
|
||||
$('#linkSeeMore').show();
|
||||
return false;
|
||||
});
|
||||
$('#hideWarn').on('click', function(e){
|
||||
$(document).on('click', '#hideWarn', function(e){
|
||||
e.preventDefault();
|
||||
$('.warn').hide('slow', function (){
|
||||
$('.warn').remove();
|
||||
|
||||
Reference in New Issue
Block a user