Browse Source

fixed a bug for displaying up/down arrow icons when toggling all expandable boxes.

ccheng 14 năm trước cách đây
mục cha
commit
efeef2c916
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      theme_tripal/js/tripal.js

+ 2 - 2
theme_tripal/js/tripal.js

@@ -77,8 +77,8 @@ if (Drupal.jsEnabled) {
 	   var status = $('#tripal_expandableBox_toggle_button').html();
 	   var icon_url = $('.tripal_expandableBox').css("background-image");
 	   icon_url = icon_url.toString().match(/.+\//);
-	   icon_up = icon_url + "arrow-up-48x48.png)";
-	   icon_down = icon_url + "arrow-down-48x48.png)";
+	   icon_up = icon_url + "arrow-up-48x48.png";
+	   icon_down = icon_url + "arrow-down-48x48.png";
 	   
 	   if (status == '[-] Collapse All') {
 		   $('.tripal_expandableBoxContent').hide();