mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-09-28 21:41:40 +00:00
fix request display in demos
This commit is contained in:
parent
30a9abdd33
commit
adeb398fa2
@ -100,7 +100,7 @@ function onDelete(path, response) {
|
||||
//====================================
|
||||
|
||||
var requestId = 0;
|
||||
kutty.on("beforeSwap.kutty", function(event) {
|
||||
htmx.on("beforeSwap.htmx", function(event) {
|
||||
requestId++;
|
||||
pushActivityChip(`${server.getHTTPMethod(event.detail.xhr)} ${event.detail.xhr.url}`, `req-${requestId}`, demoResponseTemplate(event.detail));
|
||||
document.getElementById("request-count").innerText = ": " + requestId;
|
||||
|
Loading…
x
Reference in New Issue
Block a user