Avoid recreating a jQuery object
Remove tab characters
This commit is contained in:
@@ -146,8 +146,12 @@ function PMA_setCookie(name, value, expires, path, domain, secure) {
|
|||||||
*/
|
*/
|
||||||
function fast_filter(value){
|
function fast_filter(value){
|
||||||
$("#subel0 a[class!='tableicon']").each(function(idx,elem){
|
$("#subel0 a[class!='tableicon']").each(function(idx,elem){
|
||||||
if(value && $(elem).html().indexOf(value)==-1) $(elem).parent().hide();
|
$elem = $(elem);
|
||||||
else $(elem).parent().show();
|
if (value && $elem.html().indexOf(value) == -1) {
|
||||||
|
$elem.parent().hide();
|
||||||
|
} else {
|
||||||
|
$elem.parent().show();
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user