Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion demo/js/functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ function getSelectorCss(selector, stylesheet) {
if (mySelector.match(/,/)) { //if mySelector has commas:
mySelectorArray = mySelector.split(','); //split into array where commas separate items
mySelectorArray.forEach(function(itemP, indexP) { //cycle through the array
regexSelector = new RegExp(selector + '.*');
regexSelector = new RegExp(selector + '(?:$|[^0-9]+)');
finalSelector = itemP.match(regexSelector);
if (finalSelector !== null) {
selectorLoopResult = finalSelector[0];
Expand Down