Prechádzať zdrojové kódy

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

Nate Jones 11 rokov pred
rodič
commit
cd9876726b
1 zmenil súbory, kde vykonal 6 pridanie a 1 odobranie
  1. 6 1
      themes/enhanced/template.php

+ 6 - 1
themes/enhanced/template.php

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