Permalink
Browse files

sammyjs/index.html - fix localStorage test

  • Loading branch information...
1 parent 65514af commit ea43d08113be318a9bcaaaf3b03c408d0b73d0c2 @mayoff mayoff committed Sep 15, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 todo-example/sammyjs/index.html
@@ -11,7 +11,7 @@
<script src="lib/model.js" type="text/javascript" charset="utf-8"></script>
<script src="app.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript" charset="utf-8">
- if (!'localStorage' in window) {
+ if (!('localStorage' in window)) {
alert('Your browser does not support localStorage');
}
</script>

0 comments on commit ea43d08

Please sign in to comment.