Merge pull request #873 from openseadragon/ian

Really no tabIndex if you pass "".
This commit is contained in:
Ian Gilman 2016-03-08 10:07:18 -08:00
commit 030fec590e

View File

@ -234,7 +234,9 @@ $.Viewer = function( options ) {
style.left = "0px";
}(this.canvas.style));
$.setElementTouchActionNone( this.canvas );
if (options.tabIndex !== "") {
this.canvas.tabIndex = (options.tabIndex === undefined ? 0 : options.tabIndex);
}
//the container is created through applying the ControlDock constructor above
this.container.className = "openseadragon-container";