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:
@@ -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 ()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user