1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-15 20:16:21 +02: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

@ -17,7 +17,7 @@ var e107 = e107 || {'settings': {}, 'behaviors': {}};
e107.behaviors.forumActions = {
attach: function (context, settings)
{
$('a[data-forum-action], input[data-forum-action]', context).once('data-forum-action').each(function ()
$('a[data-forum-action], input[data-forum-action]', context).one('data-forum-action').each(function ()
{
$(this).on('click', function (e)
{