fix in calculating selected states on aspect filters
This commit is contained in:
parent
22d4083c8c
commit
8af2fc7bcc
2 changed files with 5 additions and 2 deletions
|
|
@ -11,7 +11,7 @@ $(document).ready(function(){
|
|||
var button = $(this),
|
||||
guid = button.attr('data-guid');
|
||||
|
||||
if(guid && location.href.search("a_ids..="+guid) != -1){
|
||||
if(guid && location.href.search("a_ids..="+guid+"(&|$)") != -1){
|
||||
button.addClass('selected');
|
||||
selectedGUIDS.push(guid);
|
||||
}
|
||||
|
|
@ -115,7 +115,7 @@ $(document).ready(function(){
|
|||
});
|
||||
|
||||
// set url
|
||||
history.pushState(null, document.title, generateURL());
|
||||
history.pushState(null, document.title, newURL);
|
||||
|
||||
$.ajax({
|
||||
url : newURL,
|
||||
|
|
|
|||
|
|
@ -2033,6 +2033,9 @@ h3,h4
|
|||
:color #fff
|
||||
:font
|
||||
:weight normal
|
||||
&:hover
|
||||
:text
|
||||
:decoration none
|
||||
|
||||
.aspects
|
||||
:position relative
|
||||
|
|
|
|||
Loading…
Reference in a new issue