1
0
mirror of https://github.com/e107inc/e107.git synced 2025-10-26 19:21:54 +01:00

More jQuery.once() to jQuery.one() replacements.

This commit is contained in:
Cameron
2021-10-03 11:03:23 -07:00
parent 9aa6d16f2c
commit 34ad8bc1d8
3 changed files with 4 additions and 4 deletions

View File

@@ -11,7 +11,7 @@ var e107 = e107 || {'settings': {}, 'behaviors': {}};
e107.behaviors.galleryCycle = {
attach: function (context, settings)
{
$(context).find("#gallery-slideshow-content").once('gallery-slideshow-content').each(function ()
$(context).find("#gallery-slideshow-content").one('gallery-slideshow-content').each(function ()
{
$(this).cycle({
fx: settings.gallery.fx,
@@ -33,7 +33,7 @@ var e107 = e107 || {'settings': {}, 'behaviors': {}};
});
});
$(context).find(".gallery-slide-jumper").once('gallery-slide-jumper').each(function ()
$(context).find(".gallery-slide-jumper").one('gallery-slide-jumper').each(function ()
{
$(this).click(function ()
{