Skip to content

Commit

Permalink
Issue #3: Uncaught Error: Syntax error, unrecognized expression: a[hr…
Browse files Browse the repository at this point in the history
…ef*=

Fixes #3
  • Loading branch information
alanmels authored Oct 12, 2021
1 parent 0e36a0a commit d5ab1d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/paragraphs_jquery_ui_accordion.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
var hash = window.location.hash;
if (hash) {
var thash = hash.substring(hash.lastIndexOf('#'), hash.length);
var paragraph = $(accordion_id).find('a[href*='+ thash + ']').closest('h3');
var paragraph = $(accordion_id).find('a[href*="+ thash + "]').closest('h3');
if (!$(paragraph).hasClass("ui-state-active")) {
$(paragraph).trigger('click');
}
Expand Down

0 comments on commit d5ab1d4

Please sign in to comment.