From: Benjamin Mako Hill Date: Tue, 8 Nov 2011 00:04:34 +0000 (-0500) Subject: fixed missing quotes around mp3 X-Git-Url: https://projects.mako.cc/source/scuttle/commitdiff_plain/a4d4c86c4488d333371f121f3aefc989ba1270ee fixed missing quotes around mp3 In my system, with JQuery 1.5, the previous two commits caused *every* link to load the Flash MP3 mplayer, even though none of these were playable. This patch fixes that issue. The issue, as far as I can tell, seems to be due to a change in the version of JQuery. But I have only looked close enough to fix the bug. --- diff --git a/jsScuttle.php b/jsScuttle.php index 60e403a..9c6b9b7 100644 --- a/jsScuttle.php +++ b/jsScuttle.php @@ -116,7 +116,7 @@ $(function() { // Insert Flash player for MP3 links if ($("#bookmarks").length > 0) { - $("a[href$=.mp3].taggedlink").each(function() { + $('a[href$=".mp3"].taggedlink').each(function() { var url = this.href; var code = ''; code = code + '';