aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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");