Commit 99ff1149 authored by Serge S. Koval's avatar Serge S. Koval

Merge pull request #664 from vpassama/patch-1

IE8 filters compatibility
parents 4ce76eae 7e61b1ee
......@@ -104,7 +104,7 @@ var AdminFilters = function(element, filtersElement, filterGroups) {
}
$('a.filter', filtersElement).click(function() {
var name = $(this).text().trim();
var name = ($(this).text().trim !== undefined ? $(this).text().trim() : $(this).text().replace(/^\s+|\s+$/g,''));
addFilter(name, filterGroups[name]);
......
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