We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e846d04 commit 77e788cCopy full SHA for 77e788c
palindrom-redirect.html
@@ -46,22 +46,12 @@
46
history.pushState(null, null, url);
47
this.dispatchEvent(
48
new CustomEvent(
49
- "palindrom-redirect-pushstate",
50
- {
51
- "detail":{"url":url},
52
- "bubbles": true
53
- }
54
- )
55
- );
56
- /* backward compatibility */
57
- this.dispatchEvent(
58
- new CustomEvent(
59
- "puppet-redirect-pushstate",
60
61
62
63
64
+ `${this.getAttribute('is')}-pushstate`,
+ {
+ "detail":{"url":url},
+ "bubbles": true
+ }
+ )
65
);
66
}
67
else {
0 commit comments