[Mapbender-commits] r3015 - branches/2.5/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Sep 26 03:40:36 EDT 2008


Author: astrid_emde
Date: 2008-09-26 03:40:36 -0400 (Fri, 26 Sep 2008)
New Revision: 3015

Modified:
   branches/2.5/http/javascripts/style.js
Log:
top.ie replaced by $.browser.msie

Modified: branches/2.5/http/javascripts/style.js
===================================================================
--- branches/2.5/http/javascripts/style.js	2008-09-26 07:40:15 UTC (rev 3014)
+++ branches/2.5/http/javascripts/style.js	2008-09-26 07:40:36 UTC (rev 3015)
@@ -10,7 +10,7 @@
 	 */
 	var createStyleTag = function() {
 		// TODO: Internet Explorer routine seems a little buggy
-		if (top.ie) {
+		if ($.browser.msie) {
 			// create a Style Sheet object (IE only)
 			//styleSheetObj=document.createStyleSheet();
 			// get the DOM node of the style sheet object, set the type
@@ -34,7 +34,7 @@
 	 */
 	this.addClass = function(className,cssString) {
 		// TODO: Internet Explorer routine seems a little buggy
-		if (top.ie) {
+		if ($.browser.msie) {
 			//add new style declaration to chosen styleSheet 
 			var cssRules = cssString.split(";");
 			for (i=0; i<cssRules.length-1; i++){



More information about the Mapbender_commits mailing list