1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-07 17:27:16 +02:00

[ticket/11339] Always clear timeout functions on subsequent AJAX calls

PHPBB3-11339
This commit is contained in:
Cesar G
2013-10-30 19:43:31 -07:00
parent fe768d460d
commit 5cc0f50d28
2 changed files with 3 additions and 2 deletions

View File

@@ -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);
};