Skip to content

Commit fd3b410

Browse files
committed
ie fix
1 parent 09dfd10 commit fd3b410

6 files changed

Lines changed: 5 additions & 5 deletions

File tree

dist/htmx.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1927,7 +1927,7 @@ return (function () {
19271927
}
19281928
}
19291929
var newHistoryItem = {url:url, content: content, title:title, scroll:scroll};
1930-
triggerErrorEvent(getDocument().body, "htmx:historyItemCreated", {item:newHistoryItem, cache: historyCache})
1930+
triggerEvent(getDocument().body, "htmx:historyItemCreated", {item:newHistoryItem, cache: historyCache})
19311931
historyCache.push(newHistoryItem)
19321932
while (historyCache.length > htmx.config.historyCacheSize) {
19331933
historyCache.shift();

dist/htmx.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/htmx.min.js.gz

1 Byte
Binary file not shown.

src/htmx.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1927,7 +1927,7 @@ return (function () {
19271927
}
19281928
}
19291929
var newHistoryItem = {url:url, content: content, title:title, scroll:scroll};
1930-
triggerErrorEvent(getDocument().body, "htmx:historyItemCreated", {item:newHistoryItem, cache: historyCache})
1930+
triggerEvent(getDocument().body, "htmx:historyItemCreated", {item:newHistoryItem, cache: historyCache})
19311931
historyCache.push(newHistoryItem)
19321932
while (historyCache.length > htmx.config.historyCacheSize) {
19331933
historyCache.shift();

www/js/htmx.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1927,7 +1927,7 @@ return (function () {
19271927
}
19281928
}
19291929
var newHistoryItem = {url:url, content: content, title:title, scroll:scroll};
1930-
triggerErrorEvent(getDocument().body, "htmx:historyItemCreated", {item:newHistoryItem, cache: historyCache})
1930+
triggerEvent(getDocument().body, "htmx:historyItemCreated", {item:newHistoryItem, cache: historyCache})
19311931
historyCache.push(newHistoryItem)
19321932
while (historyCache.length > htmx.config.historyCacheSize) {
19331933
historyCache.shift();

www/test/1.8.3/src/htmx.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1927,7 +1927,7 @@ return (function () {
19271927
}
19281928
}
19291929
var newHistoryItem = {url:url, content: content, title:title, scroll:scroll};
1930-
triggerErrorEvent(getDocument().body, "htmx:historyItemCreated", {item:newHistoryItem, cache: historyCache})
1930+
triggerEvent(getDocument().body, "htmx:historyItemCreated", {item:newHistoryItem, cache: historyCache})
19311931
historyCache.push(newHistoryItem)
19321932
while (historyCache.length > htmx.config.historyCacheSize) {
19331933
historyCache.shift();

0 commit comments

Comments
 (0)