Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

sammyjs/index.html - fix localStorage test

  • Loading branch information...
commit ea43d08113be318a9bcaaaf3b03c408d0b73d0c2 1 parent 65514af
@mayoff mayoff authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  todo-example/sammyjs/index.html
View
2  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>
Please sign in to comment.
Something went wrong with that request. Please try again.