mblinks: fix minor typo

This commit is contained in:
Laurent Monin 2015-06-11 13:53:38 +02:00
parent ecf7681073
commit c9a26fd00f

View file

@ -92,7 +92,7 @@ var MBLinks = function (cachekey, expiration) {
} catch (e) {
alert(e);
}
},
};
this.is_cached = function (url) {
return (this.cache[url] && this.expirationMinutes > 0 && new Date().getTime() < this.cache[url].timestamp + this.expirationMinutes*60*1000);