mirror of
https://github.com/catalyst/moodle-auth_outage.git
synced 2026-05-16 21:41:31 +02:00
Issue #29 - Fixed javascript error in jshint for Moodle 27 and 28.
This commit is contained in:
@@ -18,7 +18,7 @@ var auth_outage_countdown = {
|
||||
tick: function () {
|
||||
var elapsed = Math.round((Date.now() - this.clienttime) / 1000);
|
||||
var missing = this.countdown - elapsed;
|
||||
if (!this.siteadmin && (missing == 10)) {
|
||||
if (!this.siteadmin && (missing === 10)) {
|
||||
this.divblock.className += ' imminent';
|
||||
this.divblock.style.height = window.innerHeight + 'px';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user