From a4d4c86c4488d333371f121f3aefc989ba1270ee Mon Sep 17 00:00:00 2001 From: Benjamin Mako Hill Date: Mon, 7 Nov 2011 19:04:34 -0500 Subject: [PATCH] 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. --- jsScuttle.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 + ''; -- 2.39.5