diff options
-rw-r--r-- | phpBB/assets/javascript/core.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/assets/javascript/core.js b/phpBB/assets/javascript/core.js index b25e75e979..235fa41a1a 100644 --- a/phpBB/assets/javascript/core.js +++ b/phpBB/assets/javascript/core.js @@ -225,14 +225,14 @@ phpbb.parse_querystring = function(string) { * that was returned and (if it is a form) the form action. */ phpbb.ajaxify = function(options, refresh, callback) { - var selector = $((typeof options === 'string') ? options : options.selector); - var is_form = selector.is('form'); + var elements = $((typeof options === 'string') ? options : options.selector); + var is_form = elements.is('form'); if (is_form) { - selector = selector.find('input:submit'); + elements = elements.find('input:submit'); } - selector.click(function() { + elements.click(function() { var action, data, path, that = this, $this = $(this); if ($this.data('ajax') == false) |