Commits

zamtools committed acd7dd7

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

Comments (0)

Files changed (1)

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);