removed .live
Showing
4 changed files
with
4 additions
and
4 deletions
| ... | @@ -371,7 +371,7 @@ | ... | @@ -371,7 +371,7 @@ |
| 371 | // background graphics. The class can now can be removed. | 371 | // background graphics. The class can now can be removed. |
| 372 | $content.children().removeClass('hover'); | 372 | $content.children().removeClass('hover'); |
| 373 | 373 | ||
| 374 | $('.' + boxElement).live('click', function (e) { | 374 | $('.' + boxElement).on('click', function (e) { |
| 375 | // checks to see if it was a non-left mouse-click and for clicks modified with ctrl, shift, or alt. | 375 | // checks to see if it was a non-left mouse-click and for clicks modified with ctrl, shift, or alt. |
| 376 | if (!((e.button !== 0 && typeof e.button !== 'undefined') || e.ctrlKey || e.shiftKey || e.altKey)) { | 376 | if (!((e.button !== 0 && typeof e.button !== 'undefined') || e.ctrlKey || e.shiftKey || e.altKey)) { |
| 377 | e.preventDefault(); | 377 | e.preventDefault(); | ... | ... |
| ... | @@ -174,7 +174,7 @@ jQuery(document).ready(function($) { | ... | @@ -174,7 +174,7 @@ jQuery(document).ready(function($) { |
| 174 | 174 | ||
| 175 | grabGalleryFeed(); | 175 | grabGalleryFeed(); |
| 176 | 176 | ||
| 177 | $('.form-cancel').live('click',function() { | 177 | $('.form-cancel').on('click',function() { |
| 178 | hideErrors(); | 178 | hideErrors(); |
| 179 | jQuery('#TzHybridGallery_Control').slideUp(); | 179 | jQuery('#TzHybridGallery_Control').slideUp(); |
| 180 | }); | 180 | }); | ... | ... |
| ... | @@ -368,7 +368,7 @@ endforeach; | ... | @@ -368,7 +368,7 @@ endforeach; |
| 368 | 368 | ||
| 369 | updateNotificationType(); | 369 | updateNotificationType(); |
| 370 | 370 | ||
| 371 | $('.attachment').live('click', function(e) { | 371 | $('.attachment').on('click', function(e) { |
| 372 | e.preventDefault(); | 372 | e.preventDefault(); |
| 373 | var $link = $(this); | 373 | var $link = $(this); |
| 374 | var options = { | 374 | var options = { | ... | ... |
| ... | @@ -351,7 +351,7 @@ use Tz\WordPress\Tools\Notifications\Settings; | ... | @@ -351,7 +351,7 @@ use Tz\WordPress\Tools\Notifications\Settings; |
| 351 | 351 | ||
| 352 | updateNotificationType(); | 352 | updateNotificationType(); |
| 353 | 353 | ||
| 354 | $('.attachment').live('click', function (e) { | 354 | $('.attachment').on('click', function (e) { |
| 355 | e.preventDefault(); | 355 | e.preventDefault(); |
| 356 | var $link = $(this); | 356 | var $link = $(this); |
| 357 | var options = { | 357 | var options = { | ... | ... |
-
Please register or sign in to post a comment