Răsfoiți Sursa

Enhanced Theme: Hide Domain Selector on blur (click off)

Nate Jones 11 ani în urmă
părinte
comite
cd9876726b
1 a modificat fișierele cu 6 adăugiri și 1 ștergeri
  1. 6 1
      themes/enhanced/template.php

+ 6 - 1
themes/enhanced/template.php

@@ -719,7 +719,7 @@ legend {
 		right: 0px;
 		top: 0px;
 		bottom: 0px;
-		width: 400px;
+		width: 350px;
 		overflow: hidden;
 		display: none;
 	}
@@ -848,6 +848,11 @@ legend {
 		  });
 		});
 
+		// hides the domain selector when clicking off
+		$('#domain_filter').blur(function() {
+			hide_domains();
+		});
+
 	});
 
 	function hide_domains() {