Add noselect class to 1up page images
authorMichael Ang <mang@archive.org>
Thu, 21 Oct 2010 08:31:46 +0000 (08:31 +0000)
committerMichael Ang <mang@archive.org>
Thu, 21 Oct 2010 08:31:46 +0000 (08:31 +0000)
BookReader/BookReader.js

index 54fe5f2..7eacf55 100644 (file)
@@ -465,6 +465,7 @@ BookReader.prototype.drawLeafsOnePage = function() {
 
             var img = document.createElement("img");
             img.src = this._getPageURI(index, this.reduce, 0);
+            $(img).addClass('BRnoselect');
             $(img).css('width', width+'px');
             $(img).css('height', height+'px');
             $(div).append(img);