aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles
diff options
context:
space:
mode:
authorCesar G <prototech91@gmail.com>2013-10-30 19:43:31 -0700
committerCesar G <prototech91@gmail.com>2014-04-25 12:10:46 -0700
commit5cc0f50d28d4f0866a16848a61978068df642b03 (patch)
tree8f3bed5e57ffc77c2f9f60fc6d67ecc5355a9768 /phpBB/styles
parentfe768d460d54d68aeecc392a75a1438b3f3bad34 (diff)
downloadforums-5cc0f50d28d4f0866a16848a61978068df642b03.tar
forums-5cc0f50d28d4f0866a16848a61978068df642b03.tar.gz
forums-5cc0f50d28d4f0866a16848a61978068df642b03.tar.bz2
forums-5cc0f50d28d4f0866a16848a61978068df642b03.tar.xz
forums-5cc0f50d28d4f0866a16848a61978068df642b03.zip
[ticket/11339] Always clear timeout functions on subsequent AJAX calls
PHPBB3-11339
Diffstat (limited to 'phpBB/styles')
-rw-r--r--phpBB/styles/prosilver/template/ajax.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/styles/prosilver/template/ajax.js b/phpBB/styles/prosilver/template/ajax.js
index 4df38f4275..bc68e5ae0c 100644
--- a/phpBB/styles/prosilver/template/ajax.js
+++ b/phpBB/styles/prosilver/template/ajax.js
@@ -8,7 +8,7 @@
* @param int Delay in ms until darkenwrapper's click event is triggered
*/
phpbb.closeDarkenWrapper = function(delay) {
- setTimeout(function() {
+ phpbbAlertTimer = setTimeout(function() {
$('#darkenwrapper').trigger('click');
}, delay);
};