misc: fix comparison of mtimes (do both as strings)
This commit is contained in:
parent
c5046c72c6
commit
884ea16773
|
@ -224,7 +224,7 @@ var app = {
|
|||
var onGetMtime = function(key, mtime, ready){
|
||||
var old_mtime = localStorage.getItem("momo-"+key+"-mtime");
|
||||
if (mtime) {
|
||||
if(mtime !== old_mtime) {
|
||||
if(mtime.toString() !== old_mtime) {
|
||||
updateAvailable = true;
|
||||
}
|
||||
} else {
|
||||
|
|
Reference in New Issue