Skip to content

Commit

Permalink
ie fix
Browse files Browse the repository at this point in the history
  • Loading branch information
1cg committed Nov 4, 2022
1 parent 09dfd10 commit fd3b410
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dist/htmx.js
Original file line number Diff line number Diff line change
Expand Up @@ -1927,7 +1927,7 @@ return (function () {
}
}
var newHistoryItem = {url:url, content: content, title:title, scroll:scroll};
triggerErrorEvent(getDocument().body, "htmx:historyItemCreated", {item:newHistoryItem, cache: historyCache})
triggerEvent(getDocument().body, "htmx:historyItemCreated", {item:newHistoryItem, cache: historyCache})
historyCache.push(newHistoryItem)
while (historyCache.length > htmx.config.historyCacheSize) {
historyCache.shift();
Expand Down
2 changes: 1 addition & 1 deletion dist/htmx.min.js

Large diffs are not rendered by default.

Binary file modified dist/htmx.min.js.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion src/htmx.js
Original file line number Diff line number Diff line change
Expand Up @@ -1927,7 +1927,7 @@ return (function () {
}
}
var newHistoryItem = {url:url, content: content, title:title, scroll:scroll};
triggerErrorEvent(getDocument().body, "htmx:historyItemCreated", {item:newHistoryItem, cache: historyCache})
triggerEvent(getDocument().body, "htmx:historyItemCreated", {item:newHistoryItem, cache: historyCache})
historyCache.push(newHistoryItem)
while (historyCache.length > htmx.config.historyCacheSize) {
historyCache.shift();
Expand Down
2 changes: 1 addition & 1 deletion www/js/htmx.js
Original file line number Diff line number Diff line change
Expand Up @@ -1927,7 +1927,7 @@ return (function () {
}
}
var newHistoryItem = {url:url, content: content, title:title, scroll:scroll};
triggerErrorEvent(getDocument().body, "htmx:historyItemCreated", {item:newHistoryItem, cache: historyCache})
triggerEvent(getDocument().body, "htmx:historyItemCreated", {item:newHistoryItem, cache: historyCache})
historyCache.push(newHistoryItem)
while (historyCache.length > htmx.config.historyCacheSize) {
historyCache.shift();
Expand Down
2 changes: 1 addition & 1 deletion www/test/1.8.3/src/htmx.js
Original file line number Diff line number Diff line change
Expand Up @@ -1927,7 +1927,7 @@ return (function () {
}
}
var newHistoryItem = {url:url, content: content, title:title, scroll:scroll};
triggerErrorEvent(getDocument().body, "htmx:historyItemCreated", {item:newHistoryItem, cache: historyCache})
triggerEvent(getDocument().body, "htmx:historyItemCreated", {item:newHistoryItem, cache: historyCache})
historyCache.push(newHistoryItem)
while (historyCache.length > htmx.config.historyCacheSize) {
historyCache.shift();
Expand Down

0 comments on commit fd3b410

Please sign in to comment.