Do not consider edit mode as a history entry
This commit is contained in:
@@ -4,7 +4,8 @@
|
||||
switch (e.key) {
|
||||
case 'E':
|
||||
e.preventDefault();
|
||||
window.location.href = window.location.pathname + '?edit';
|
||||
// replace, not assign — same reasoning as history-nav.js.
|
||||
window.location.replace(window.location.pathname + '?edit');
|
||||
break;
|
||||
case 'N':
|
||||
e.preventDefault();
|
||||
|
||||
Reference in New Issue
Block a user