projects
/
Hacks.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix loading saved hack index
[Hacks.git]
/
Main.js
diff --git
a/Main.js
b/Main.js
index
8f9789e
..
49d130d
100644
(file)
--- 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) {