Update typingsound.plugin.js
This commit is contained in:
parent
1ea96f9da8
commit
b0cfc3bb00
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue