mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-02-21 01:03:14 +03:00
fixed tabIndex to handle empty string
chrome acts buggy and jumps when tabindex is not set to empty string. fixes #769
This commit is contained in:
parent
c4b1e05e25
commit
3925d1cb14
@ -234,7 +234,7 @@ $.Viewer = function( options ) {
|
||||
style.left = "0px";
|
||||
}(this.canvas.style));
|
||||
$.setElementTouchActionNone( this.canvas );
|
||||
this.canvas.tabIndex = options.tabIndex || 0;
|
||||
this.canvas.tabIndex = options.tabIndex || 0 || "" ;
|
||||
|
||||
//the container is created through applying the ControlDock constructor above
|
||||
this.container.className = "openseadragon-container";
|
||||
|
Loading…
x
Reference in New Issue
Block a user