Permalink
Browse files

Use localStorage.remove()

  • Loading branch information...
nicwolff committed Mar 11, 2012
1 parent 9b55b24 commit 1b0cb2e035cf6f437574c03268eccb0551288d1d
Showing with 2 additions and 2 deletions.
  1. +2 −2 linker.html
View
@@ -195,8 +195,8 @@
} );
$('#clearCache').click( function (e) {
- localStorage.setItem( 'page_filename', '')
- refresh();
+ localStorage.remove( reqURL + '.page_filename' )
+ window.reload();
return false;
} );

0 comments on commit 1b0cb2e

Please sign in to comment.