commit: | 089e0783d8aad965129668612c46a15dea2224fb |
author: | Chip Black |
committer: | Chip Black |
date: | Mon Sep 12 00:36:15 2011 -0500 |
parents: | be221ae155290b04705bd1a6deeb82f495def012 |
diff --git a/Main.js b/Main.js line changes: +1/-1 index 8f9789e..49d130d --- a/Main.js +++ b/Main.js
@@ -33,7 +33,7 @@ enyo.kind({ create: function() { this.inherited(arguments); try { - this.index = localStorage.getItem('hack.index'); + this.index = parseInt(localStorage.getItem('hack.index')); if (!this.index) this.index = 0; } catch(e) {