Skip to content
This repository has been archived by the owner on Aug 3, 2022. It is now read-only.

Commit

Permalink
Update typingsound.plugin.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiiks committed Feb 23, 2016
1 parent 1ea96f9 commit b0cfc3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Plugins/typingsound.plugin.js
Expand Up @@ -27,9 +27,9 @@ typingSoundPlugin.prototype.start = function() {
});

$(document).on("keydown.ts", function(e) {
self.bs.trigger("pause");
self.bs.prop("currentTime", 0);
if(e.keyCode == 8) {
self.bs.trigger("pause");
self.bs.prop("currentTime", 0);
self.bs.trigger("play");
return;
}
Expand Down

0 comments on commit b0cfc3b

Please sign in to comment.