Add contributed patch from https://github.com/yankl to set BRcontainer direction...
authorMichael Ang <mang@archive.org>
Wed, 10 Nov 2010 19:59:25 +0000 (19:59 +0000)
committerMichael Ang <mang@archive.org>
Wed, 10 Nov 2010 19:59:25 +0000 (19:59 +0000)
Merge commit 'yankl/master' into newui

Conflicts:
BookReader/BookReader.js

1  2 
BookReader/BookReader.js

@@@ -191,18 -157,9 +191,9 @@@ BookReader.prototype.init = function() 
      $("#BookReader").empty();
          
      this.initToolbar(this.mode, this.ui); // Build inside of toolbar div
-     
-     $("#BookReader").append("<div id='BRcontainer'></div>");
+     $("#BookReader").append("<div id='BRcontainer' dir='ltr'></div>");
      $("#BRcontainer").append("<div id='BRpageview'></div>");
 -
 +        
-     // Autohide nav after showing for awhile
-     var self = this;
-     if (this.uiAutoHide) {
-         $(window).bind('load', function() {
-             setTimeout(function() { self.hideNavigation(); }, 3000);
-         });
-     };
      $("#BRcontainer").bind('scroll', this, function(e) {
          e.data.loadLeafs();
      });