2
0
mirror of https://github.com/gchq/CyberChef synced 2025-12-10 21:33:36 +00:00

Further CSS tweaks

This commit is contained in:
n1474335
2018-08-03 19:58:44 +01:00
parent 2a55f1317a
commit 53b92ae8ef
2 changed files with 11 additions and 14 deletions

View File

@@ -474,7 +474,7 @@ class OutputWaiter {
*/
showMagicButton(opSequence, result, recipeConfig) {
const magicButton = document.getElementById("magic");
magicButton.setAttribute("data-original-title", `Running <i>${opSequence}</i> will result in <span class="data-text">"${Utils.truncate(result, 30)}"</span>`);
magicButton.setAttribute("data-original-title", `<i>${opSequence}</i> will produce <span class="data-text">"${Utils.truncate(result, 30)}"</span>`);
magicButton.setAttribute("data-recipe", JSON.stringify(recipeConfig), null, "");
magicButton.classList.remove("hidden");
}