Move unhiding code to js file.
This commit is contained in:
@@ -171,4 +171,10 @@ function fast_filter(value){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
document.getElementById('fast_filter').disabled=false;
|
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);"
|
onkeyup="setTimeout(function(word){ return function(){ fast_filter(word);}}(this.value),1000);"
|
||||||
style="width:90%;padding:0 -20px 0 0; padding:2px;"
|
style="width:90%;padding:0 -20px 0 0; padding:2px;"
|
||||||
onfocus="this.select();" />
|
onfocus="this.select();" />
|
||||||
<script type="text/javascript">document.getElementById('NavFilter').style.display='';</script>
|
|
||||||
</span>
|
</span>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user