? markitup_jquery_selector_syntax.patch
Index: markitup.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/markitup/markitup.module,v
retrieving revision 1.7
diff -u -p -r1.7 markitup.module
--- markitup.module	10 Jan 2009 07:24:22 -0000	1.7
+++ markitup.module	23 Apr 2010 11:48:56 -0000
@@ -299,11 +299,11 @@ function markitup() {
       // turn off editor skin css files
       function markitup_editors_off() {
         // onclick of input format, disable all skin css
-        $("link[@href*=markitup/skins]").each(function() {
+        $("link[href*=\'markitup/skins\']").each(function() {
           this.disabled = true;
         });
         // disable all set css as well
-        $("link[@href*=markitup/sets]").each(function() {
+        $("link[href*=\'markitup/sets\']").each(function() {
           this.disabled = true;
         });
         
@@ -312,11 +312,11 @@ function markitup() {
       // turn on editor skin css file
       function markitup_editor_css_on(skin, muiSet) {
         // find each link where the href contains a string match and then iterate through each
-        $("link[@href*="+skin+"/style.css]").each(function() {
+        $("link[href*=\'"+skin+"/style.css\']").each(function() {
           this.disabled = false;
         });
         
-        $("link[@href*="+muiSet+"/style.css]").each(function() {
+        $("link[href*=\'"+muiSet+"/style.css\']").each(function() {
           this.disabled = false;
         });
         
@@ -334,7 +334,7 @@ function markitup() {
       function markitup_editor_switch(i) {
         //alert(i);
         // Listen for clicks...
-        $("div[@id*=format-" + i + "-wrapper]").click(function() {
+        $("div[id*=\'format-" + i + "-wrapper\']").click(function() {
           //alert(i);
           
           markitup_editors_off();
