call ttsStop in zoom_in or zoom_out click handlers
authorrajbot <raj@archive.org>
Tue, 19 Oct 2010 20:45:40 +0000 (20:45 +0000)
committerrajbot <raj@archive.org>
Tue, 19 Oct 2010 20:45:40 +0000 (20:45 +0000)
BookReader/BookReader.js

index e63417d..36032e7 100644 (file)
@@ -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;
     });