From: Dan Vanderkam Date: Tue, 14 Sep 2010 00:27:23 +0000 (-0700) Subject: works in FF again X-Git-Tag: v1.0.0~665 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=b39466eb8824b05cfa9b5428ab0e7984e6d18e6f;p=dygraphs.git works in FF again --- diff --git a/dygraph.js b/dygraph.js index fe38657..724629a 100644 --- a/dygraph.js +++ b/dygraph.js @@ -2386,7 +2386,7 @@ Dygraph.addAnnotationRule = function() { "background-color: white; " + "text-align: center;"; if (mysheet.insertRule) { // Firefox - mysheet.insertRule(".dygraphDefaultAnnotation { " + rule + " }"); + mysheet.insertRule(".dygraphDefaultAnnotation { " + rule + " }", 0); } else if (mysheet.addRule) { // IE mysheet.addRule(".dygraphDefaultAnnotation", rule); }