Skip to content
Browse files

Merge pull request #9 from mayoff/patch-1

sammyjs/index.html - fix localStorage test
  • Loading branch information...
2 parents 65514af + ea43d08 commit e320deed754f9d7d74ea5f92f0ebc72cf9b3d602 @addyosmani addyosmani committed
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>

0 comments on commit e320dee

Please sign in to comment.
Something went wrong with that request. Please try again.