From 5d84d3156fb855f019aeac40a2b1d9133cd0c8ab Mon Sep 17 00:00:00 2001 From: Ian Gilman Date: Wed, 30 Jan 2013 11:04:51 -0800 Subject: [PATCH] Build --- openseadragon.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/openseadragon.js b/openseadragon.js index 52e175a3..2bde467c 100644 --- a/openseadragon.js +++ b/openseadragon.js @@ -4780,10 +4780,17 @@ $.Navigator = function( options ){ style.fontSize = '0px'; style.overflow = 'hidden'; style.border = '2px solid #900'; + //TODO: IE doesnt like this property being set //try{ style.outline = '2px auto #909'; }catch(e){/*ignore*/} + style.background = 'transparent'; - style.float = 'left'; //Webkit + + // We use square bracket notation on the statement below, because float is a keyword. + // This is important for the Google Closure compliler, if nothing else. + /*jshint sub:true */ + style['float'] = 'left'; //Webkit + style.cssFloat = 'left'; //Firefox style.styleFloat = 'left'; //IE style.zIndex = 999999999;