Commit bc743140 authored by haemmer's avatar haemmer
Browse files

Improved IE compatibility

No matches text is now correctly displayed
parent cf937c0d
......@@ -41,7 +41,6 @@ pre {
-webkit-border-radius: 13px;
-moz-box-shadow: 1px 1px 8px #999999;
-moz-border-radius: 13px;
overflow: hidden;
padding: 24px;
}
......
......@@ -104,11 +104,8 @@
}
}
// Add new DomReady function
window.onDomReady = DomReady;
// Attach init function
window.onDomReady(init);
$(document).ready(init);
-->
</script>
......
......@@ -581,7 +581,6 @@ function updateListFilter(textControl) {
function () {
if ($(this).hasClass("idd_listItemGroupHeader")){
if (previousElement != null && previousElement.hasClass("idd_listItemGroupHeader")){
//alert("Hide " + previousElement.text())
previousElement.hide();
}
}
......@@ -589,7 +588,7 @@ function updateListFilter(textControl) {
});
// Hide last visible item if it is a category
if (allListItems.last().hasClass("idd_listItemGroupHeader")){
if (allListItems.last().hasClass("idd_listItemGroupHeader") && !allListItems.last().hasClass("grpHdrNoMatches")){
allListItems.last().hide();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment