mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-01-20 01:31:45 +03:00
Merge branch 'master' into now
This commit is contained in:
commit
ebffea5a34
@ -131,6 +131,7 @@ module.exports = function(grunt) {
|
||||
browser: true,
|
||||
eqeqeq: false,
|
||||
loopfunc: false,
|
||||
trailing: true,
|
||||
globals: {
|
||||
OpenSeadragon: true
|
||||
}
|
||||
|
@ -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)
|
||||
|
@ -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({
|
||||
|
Loading…
x
Reference in New Issue
Block a user