aboutsummaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorPhilip Arndt <parndt@gmail.com>2011-02-17 14:55:54 +1300
committerPhilip Arndt <parndt@gmail.com>2011-02-17 14:55:54 +1300
commit6fda9d4fa747310b9b6037987ec27f46c438fb10 (patch)
treeaabcd83e4d43bdf2092ffdcc286a0f9dfbc67acf /public
parent78e5eeb6247dac5306336e93459c37cdcefa25ad (diff)
downloadrefinerycms-blog-6fda9d4fa747310b9b6037987ec27f46c438fb10.tar.gz
refinerycms-blog-6fda9d4fa747310b9b6037987ec27f46c438fb10.tar.bz2
refinerycms-blog-6fda9d4fa747310b9b6037987ec27f46c438fb10.zip
Chrome (atleast) got more strict about this and if you have a / in the selector then you need quotation marks. Closes GH-39
Diffstat (limited to 'public')
-rw-r--r--public/javascripts/refinery/refinerycms-blog.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/public/javascripts/refinery/refinerycms-blog.js b/public/javascripts/refinery/refinerycms-blog.js
index 3ddbcc2..e730c6f 100644
--- a/public/javascripts/refinery/refinerycms-blog.js
+++ b/public/javascripts/refinery/refinerycms-blog.js
@@ -1,5 +1,5 @@
$(document).ready(function(){
- $('nav#actions.multilist > ul:not(.search_list) li a[href$=' + window.location.pathname + ']')
+ $('nav#actions.multilist > ul:not(.search_list) li a[href$="' + window.location.pathname + '"]')
.parent().addClass('selected');
if($('nav#actions.multilist > ul:not(.search_list) li.selected').length == 0) {
$('nav#actions.multilist > ul:not(.search_list) li a:nth(1)').parent().addClass('selected');
@@ -15,9 +15,9 @@ $(document).ready(function(){
$('ul.collapsible_menu').each(function(i, ul) {
(first_li = $(this).children('li:first')).after(div=$("<div></div>"));
-
+
$("<span class='arrow'>&nbsp;</span>").appendTo(first_li)
-
+
if (($(this).children('li.selected')).length == 0) {
div.hide();
first_li.addClass("closed");