Issue #29 - Fixed javascript error in jshint for Moodle 27 and 28.

This commit is contained in:
Daniel Thee Roperto
2016-09-14 13:57:32 +10:00
parent 5e873d766c
commit 6041d945e1

View File

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