From da3108fcea119f05d98caae3552654c095ad7601 Mon Sep 17 00:00:00 2001 From: anekos Date: Thu, 20 Dec 2012 20:08:41 +0900 Subject: For new firefox. --- erection.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'erection.js') diff --git a/erection.js b/erection.js index be7e1d2..303ac8d 100644 --- a/erection.js +++ b/erection.js @@ -152,14 +152,14 @@ let INFO = } } - Store.set('version', VERSION); + Store.set('version', String(VERSION)); Store.set('erections', erections); Store.save(); return callback(erections); } - if (VC.compare(Store.get('version'), VERSION) == 0) { + if (VC.compare(Store.get('version'), String(VERSION)) == 0) { //liberator.log('Get erections from Cache'); callback(Store.get('erections')); return; -- cgit v1.2.3