mirror of
https://github.com/Eugeny/tabby.git
synced 2025-01-06 13:44:36 +08:00
14 lines
682 B
Diff
14 lines
682 B
Diff
|
diff --git a/node_modules/gettext-extractor/dist/html/selector.js b/node_modules/gettext-extractor/dist/html/selector.js
|
||
|
index e290d12..cdb1d0b 100644
|
||
|
--- a/node_modules/gettext-extractor/dist/html/selector.js
|
||
|
+++ b/node_modules/gettext-extractor/dist/html/selector.js
|
||
|
@@ -120,7 +120,7 @@ class ElementSelector {
|
||
|
if (elementAttributeValue === null) {
|
||
|
return false;
|
||
|
}
|
||
|
- if (attribute.value) {
|
||
|
+ if (attribute.value !== undefined) {
|
||
|
switch (attribute.operator) {
|
||
|
case '^=':
|
||
|
if (elementAttributeValue.slice(0, attribute.value.length) !== attribute.value) {
|