Permalink
Browse files

Implemented #68

  • Loading branch information...
1 parent 75f01a8 commit 1b54a9aa28c7a64509857de1d48915c1c6345a9a @LeaVerou LeaVerou committed Dec 19, 2011
Showing with 3 additions and 1 deletion.
  1. +3 −1 code/dabblet.js
View
4 code/dabblet.js
@@ -1112,7 +1112,9 @@ document.onkeydown = function(evt) {
gist.save();
return false;
case 'N':
- Dabblet.wipe();
+ if(Dabblet.wipe()) {
+ location.pathname = '/';
+ }
return false;
case '1':
var page = 'css';

0 comments on commit 1b54a9a

Please sign in to comment.