diff --git a/static/koboldai.css b/static/koboldai.css index 6ebd7e0e..8a5c9416 100644 --- a/static/koboldai.css +++ b/static/koboldai.css @@ -102,7 +102,7 @@ input[type="range"]::-ms-fill-upper { box-shadow: 0 3px 3px rgba(0, 0, 0, 0.4), inset 0 1px 0 #AAA; text-shadow: 0 1px #AAA; margin: 0 -5px; - padding: 0 17px; + padding: 0 15px; } .tabrow span.selected { background: #FFF; diff --git a/static/koboldai.js b/static/koboldai.js index dc4c599d..049591ab 100644 --- a/static/koboldai.js +++ b/static/koboldai.js @@ -1274,7 +1274,7 @@ function world_info_entry(data) { delete_icon.setAttribute("title", data.title); delete_icon.onclick = function () { if (confirm("This will delete world info "+this.getAttribute("title"))) { - if (this.getAttribute("uid") == "-1") { + if (parseInt(this.getAttribute("uid")) < 0) { this.parentElement.parentElement.remove(); } else { socket.emit("delete_world_info", this.getAttribute("uid"));