mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-05 15:32:55 +02:00
Update qsp to use ~=
This commit is contained in:
parent
a55f8a5741
commit
4bbec4501d
1 changed files with 1 additions and 1 deletions
|
@ -347,7 +347,7 @@ export function qsp(el, sel, props) {
|
|||
if (typeof el.querySelector != "undefined") {
|
||||
sel += "[";
|
||||
for (var prop in props) {
|
||||
sel += prop + "='" + props[prop] + "'";
|
||||
sel += prop + "~='" + props[prop] + "'";
|
||||
}
|
||||
sel += "]";
|
||||
return el.querySelector(sel);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue