Move unhiding code to js file.
This commit is contained in:
@@ -172,3 +172,9 @@ function fast_filter(value){
|
||||
}
|
||||
document.getElementById('fast_filter').disabled=false;
|
||||
}
|
||||
|
||||
/* Performed on load */
|
||||
jQuery(document).ready(function(){
|
||||
/* Display filter */
|
||||
jQuery('#NavFilter').css('display', 'inline');
|
||||
});
|
||||
|
@@ -326,7 +326,6 @@ if ($GLOBALS['cfg']['LeftFrameLight'] && strlen($GLOBALS['db'])) {
|
||||
onkeyup="setTimeout(function(word){ return function(){ fast_filter(word);}}(this.value),1000);"
|
||||
style="width:90%;padding:0 -20px 0 0; padding:2px;"
|
||||
onfocus="this.select();" />
|
||||
<script type="text/javascript">document.getElementById('NavFilter').style.display='';</script>
|
||||
</span>
|
||||
<?php
|
||||
}
|
||||
|
Reference in New Issue
Block a user