We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a307a2 commit f97f568Copy full SHA for f97f568
2 files changed
CHANGELOG.md
@@ -4,6 +4,7 @@
4
5
### Fixes
6
7
+- [Issue #30] - Remaps with same tag seem to interfere
8
- [Issue #29] - Build -f throws exception if app is open in another window
9
- [Issue #28] - App isn't merged without -f
10
lib/chainlinks/converter.js
@@ -42,8 +42,9 @@ let Converter = function() {
42
dom.window.document.querySelectorAll(remap.tag).forEach((element) => {
43
44
let href = "";
45
+ let elementType = element.nodeName.toLowerCase();
46
- switch (remap.tag) {
47
+ switch (elementType) {
48
case "a":
49
case "link":
50
href = element.href;
@@ -80,7 +81,7 @@ let Converter = function() {
80
81
element.integrity = remap.integrity;
82
}
83
84
85
86
87
element.href = href;
0 commit comments