mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-23 10:01:55 +02:00
[ticket/10805] Compare phpbbAlertTimer against null
PHPBB3-10805
This commit is contained in:
@@ -13,7 +13,7 @@ var keymap = {
|
||||
|
||||
var dark = $('#darkenwrapper');
|
||||
var loading_alert = $('#loadingalert');
|
||||
var phpbbAlertTimer = 0;
|
||||
var phpbbAlertTimer = null;
|
||||
|
||||
|
||||
/**
|
||||
@@ -47,9 +47,9 @@ phpbb.loading_alert = function() {
|
||||
* Clear loading alert timeout
|
||||
*/
|
||||
phpbb.clearLoadingTimeout = function() {
|
||||
if (phpbbAlertTimer != 0) {
|
||||
if (phpbbAlertTimer != null) {
|
||||
clearTimeout(phpbbAlertTimer);
|
||||
phpbbAlertTimer = 0;
|
||||
phpbbAlertTimer = null;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user