Merge branch 'master' into now

This commit is contained in:
Kevin Ewing 2013-06-19 11:23:42 -07:00
commit ebffea5a34
32 changed files with 981 additions and 980 deletions

View File

@ -131,6 +131,7 @@ module.exports = function(grunt) {
browser: true,
eqeqeq: false,
loopfunc: false,
trailing: true,
globals: {
OpenSeadragon: true
}

View File

@ -3,6 +3,8 @@ OPENSEADRAGON CHANGELOG
0.9.129: (In Progress)
* Fixed an error when using navPrevNextWrap on single images (#135)
0.9.128:
* The navigator is now off by default (#102)

View File

@ -346,10 +346,6 @@ $.Viewer = function( options ) {
beginControlsAutoHide( _this );
} ); // initial fade out
if(this.navPrevNextWrap){
this.previousButton.enable();
}
};
$.extend( $.Viewer.prototype, $.EventHandler.prototype, $.ControlDock.prototype, {
@ -855,7 +851,9 @@ $.extend( $.Viewer.prototype, $.EventHandler.prototype, $.ControlDock.prototype,
onBlur: onBlurHandler
});
this.previousButton.disable();
if( !this.navPrevNextWrap ){
this.previousButton.disable();
}
if( useGroup ){
this.paging = new $.ButtonGroup({