mirror of
https://github.com/wassname/HackFlowy.git
synced 2026-08-13 11:50:09 +08:00
Shuffling works, and lots of refactoring
This commit is contained in:
@@ -24,6 +24,10 @@ Task
|
||||
initialize: function() {
|
||||
listView = this.listView = new ListView();
|
||||
this.input = $('#newTask');
|
||||
|
||||
// stop browser going back a page when jamming backspace
|
||||
window.addEventListener('keydown',function(e){if(e.keyIdentifier=='U+0008'||e.keyIdentifier=='Backspace'){if(e.target==document.body){e.preventDefault();}}},true);
|
||||
|
||||
},
|
||||
|
||||
createNewTask: function(e) {
|
||||
|
||||
Reference in New Issue
Block a user