From: rajbot Date: Tue, 19 Oct 2010 20:45:40 +0000 (+0000) Subject: call ttsStop in zoom_in or zoom_out click handlers X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;h=deb3ca5365e0d7301a760efe6fee8ba4798272c5;hp=-c;p=bookreader.git call ttsStop in zoom_in or zoom_out click handlers --- deb3ca5365e0d7301a760efe6fee8ba4798272c5 diff --git a/BookReader/BookReader.js b/BookReader/BookReader.js index e63417d..36032e7 100644 --- a/BookReader/BookReader.js +++ b/BookReader/BookReader.js @@ -3856,11 +3856,13 @@ BookReader.prototype.bindNavigationHandlers = function() { }); jIcons.filter('.zoom_in').bind('click', function() { + self.ttsStop(); self.zoom(1); return false; }); jIcons.filter('.zoom_out').bind('click', function() { + self.ttsStop(); self.zoom(-1); return false; });