Skip to content

Commit ff29989

Browse files
authored
Request ANSI colour codes when calling gravity API (#3662)
2 parents 2414163 + e2d711f commit ff29989

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/js/gravity.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ function eventsource() {
1515
const outputElement = document.getElementById("output");
1616
const gravityBtn = document.getElementById("gravityBtn");
1717
const csrfToken = document.querySelector('meta[name="csrf-token"]').getAttribute("content");
18-
const url = `${document.body.dataset.apiurl}/action/gravity`;
18+
const url = `${document.body.dataset.apiurl}/action/gravity?color=true`;
1919

2020
if (outputElement.innerHTML.length > 0) {
2121
outputElement.innerHTML = "";

0 commit comments

Comments
 (0)