Browse Source

! Code cleanliness and another thing we're not using any more.

Signed-off-by: Peter Spicer <[email protected]>
Peter Spicer 11 years ago
parent
commit
f61f1788a0
2 changed files with 1 additions and 9 deletions
  1. 1 1
      Themes/default/PersonalMessage.template.php
  2. 0 8
      Themes/default/scripts/script.js

+ 1 - 1
Themes/default/PersonalMessage.template.php

@@ -795,7 +795,7 @@ function template_search()
 					</h4>
 				</div>
 				<div id="advanced_panel_div">
-					<ul id="searchLabelsExpand" class="reset" >';
+					<ul id="searchLabelsExpand" class="reset">';
 
 			foreach ($context['search_labels'] as $label)
 				echo '

+ 0 - 8
Themes/default/scripts/script.js

@@ -1626,14 +1626,6 @@ function selectBoards(ids, aFormID)
 		aForm["brd" + ids[i]].checked = !toggle;
 }
 
-function expandCollapseLabels()
-{
-	var current = document.getElementById("searchLabelsExpand").style.display != "none";
-
-	$("#searchLabelsExpand").slideToggle();
-	document.getElementById("expandLabelsIcon").src = smf_images_url + (current ? "/expand.png" : "/collapse.png");
-}
-
 function updateRuleDef(optNum)
 {
 	if (document.getElementById("ruletype" + optNum).value == "gid")