Skip to content

Commit

Permalink
Merge pull request #2 from nianjack/issue-1
Browse files Browse the repository at this point in the history
Fix #1: added script link and hotkey script
  • Loading branch information
PavanKKamra committed Sep 30, 2019
2 parents 318640d + b34eb4a commit 8c59a6b
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion index.html
Expand Up @@ -13,6 +13,7 @@ <h1 style="text-align: center">Note-Taking Application</h1>
</html>

<script src="https://unpkg.com/filer/dist/filer.min.js"></script>
<script src="https://unpkg.com/hotkeys-js/dist/hotkeys.min.js"></script>

<script>
const fd = new Filer.FileSystem();
Expand Down Expand Up @@ -43,4 +44,12 @@ <h1 style="text-align: center">Note-Taking Application</h1>
});
}

</script>
</script>
<script type="text/javascript">
hotkeys('alt+s', function (event, handler){
if (handler.key == 'alt+s') {
saveNote();
console.log("alt+s")
}
});
</script>

0 comments on commit 8c59a6b

Please sign in to comment.