Show all aspects selected by default
This commit is contained in:
parent
5a5bc852e2
commit
389136eaf2
1 changed files with 9 additions and 5 deletions
|
|
@ -26,11 +26,15 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
this.initializeSelectedAspects = function() {
|
this.initializeSelectedAspects = function() {
|
||||||
self.aspectSelectors.each(function() {
|
if (location.href.search("a_ids..=") == -1) {
|
||||||
guid = $(this).data('guid');
|
self.aspectLis.addClass("active");
|
||||||
if (guid && location.href.search("a_ids..=" + guid + "(#|&|$)") != -1)
|
} else {
|
||||||
$(this).parent().addClass('active');
|
self.aspectSelectors.each(function() {
|
||||||
});
|
guid = $(this).data('guid');
|
||||||
|
if (guid && location.href.search("a_ids..=" + guid + "(#|&|$)") != -1)
|
||||||
|
$(this).parent().addClass('active');
|
||||||
|
});
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
this.toggleAspect = function(evt) {
|
this.toggleAspect = function(evt) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue