Commits

zamtools  committed acd7dd7

Hopefully fixed a bug with JQuery 1.6.1 where attribute checking a link's href would fail

  • Participants
  • Parent commits 3b01682

Comments (0)

Files changed (1)

File jquery.stacktack.js

         
         if (options.stylesheet) {
             // only include the stylesheet once
-            if ($('link[href=' + options.stylesheet + ']').length === 0) {
+            if ($('link[href="' + options.stylesheet + '"]').length === 0) {
                 // necessary for IE to dynamically load stylesheet
                 if (document.createStyleSheet) {
                     document.createStyleSheet(options.stylesheet);