misc: fix comparison of mtimes (do both as strings)

This commit is contained in:
Frédéric Péters 2015-08-20 13:46:20 +02:00
parent c5046c72c6
commit 884ea16773
1 changed files with 1 additions and 1 deletions

View File

@ -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 {