mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-11 05:48:51 +00:00
[ticket/10805] Compare phpbbAlertTimer against null
PHPBB3-10805
This commit is contained in:
parent
5d07ddffaf
commit
48b6e45f7c
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue