diff --git a/static/application.js b/static/application.js
index 014cf86d..eb93a51c 100644
--- a/static/application.js
+++ b/static/application.js
@@ -813,11 +813,11 @@ $(document).ready(function(){
seqselmenu = $("#seqselmenu");
seqselcontents = $("#seqselcontents");
- // Connect to SocketIO server
- socket = io.connect(window.document.origin);
+ // Connect to SocketIO server
+ socket = io.connect(window.document.origin);
socket.on('from_server', function(msg) {
- if(msg.cmd == "connected") {
+ if(msg.cmd == "connected") {
// Connected to Server Actions
connected = true;
connect_status.html("Connected to KoboldAI Process!");
@@ -882,19 +882,19 @@ $(document).ready(function(){
}, 5);
}
} else if(msg.cmd == "removechunk") {
- let index = msg.data;
- // Remove the chunk
- game_text.children(`#n${index}`).remove()
+ let index = msg.data;
+ // Remove the chunk
+ game_text.children(`#n${index}`).remove()
// Shift all existing chunks by 1
index++;
- while (true) {
- const chunk = game_text.children(`#n${index}`)
+ while(true) {
+ const chunk = game_text.children(`#n${index}`)
if(chunk.length === 0) {
break;
}
- const newIndex = index - 1;
- chunk.attr('n', newIndex.toString()).attr('id', `n${newIndex}`);
- index++;
+ const newIndex = index - 1;
+ chunk.attr('n', newIndex.toString()).attr('id', `n${newIndex}`);
+ index++;
}
} else if(msg.cmd == "setgamestate") {
// Enable or Disable buttons
@@ -1093,7 +1093,7 @@ $(document).ready(function(){
} else if(msg.cmd == "runs_remotely") {
hide([button_loadfrfile, button_savetofile, button_import, button_importwi]);
}
- });
+ });
socket.on('disconnect', function() {
connected = false;
diff --git a/static/custom.css b/static/custom.css
index 70a23124..15ee3521 100644
--- a/static/custom.css
+++ b/static/custom.css
@@ -355,8 +355,8 @@ chunk, chunk * {
.colorfade, .colorfade * {
-moz-transition:color 1s ease-in;
- -o-transition:color 1s ease-in;
- -webkit-transition:color 1s ease-in;
+ -o-transition:color 1s ease-in;
+ -webkit-transition:color 1s ease-in;
transition:color 1s ease-in;
}
@@ -443,21 +443,21 @@ chunk, chunk * {
}
.helpicon {
- display: inline-block;
- font-family: sans-serif;
- font-weight: bold;
- text-align: center;
- width: 2.2ex;
- height: 2.4ex;
- font-size: 1.4ex;
- line-height: 1.8ex;
- border-radius: 1.2ex;
- margin-right: 4px;
- padding: 1px;
- color: #295071;
- background: #ffffff;
- border: 1px solid white;
- text-decoration: none;
+ display: inline-block;
+ font-family: sans-serif;
+ font-weight: bold;
+ text-align: center;
+ width: 2.2ex;
+ height: 2.4ex;
+ font-size: 1.4ex;
+ line-height: 1.8ex;
+ border-radius: 1.2ex;
+ margin-right: 4px;
+ padding: 1px;
+ color: #295071;
+ background: #ffffff;
+ border: 1px solid white;
+ text-decoration: none;
}
.helpicon:hover {
@@ -521,8 +521,8 @@ chunk, chunk * {
color: #ffffff;
-moz-transition: background-color 0.25s ease-in;
- -o-transition: background-color 0.25s ease-in;
- -webkit-transition: background-color 0.25s ease-in;
+ -o-transition: background-color 0.25s ease-in;
+ -webkit-transition: background-color 0.25s ease-in;
transition: background-color 0.25s ease-in;
}
@@ -532,12 +532,12 @@ chunk, chunk * {
}
.navbar .navbar-nav .nav-link:hover {
- border-radius: 5px;
+ border-radius: 5px;
background-color: #98bcdb;
}
.navbar .navbar-nav .nav-link:focus {
- border-radius: 5px;
+ border-radius: 5px;
background-color: #98bcdb;
}
@@ -603,8 +603,8 @@ chunk, chunk * {
color: #ffffff;
-moz-transition: background-color 0.25s ease-in;
- -o-transition: background-color 0.25s ease-in;
- -webkit-transition: background-color 0.25s ease-in;
+ -o-transition: background-color 0.25s ease-in;
+ -webkit-transition: background-color 0.25s ease-in;
transition: background-color 0.25s ease-in;
}
@@ -654,8 +654,8 @@ chunk, chunk * {
padding: 5px;
color: #ffffff;
-moz-transition: all 0.15s ease-in;
- -o-transition: all 0.15s ease-in;
- -webkit-transition: all 0.15s ease-in;
+ -o-transition: all 0.15s ease-in;
+ -webkit-transition: all 0.15s ease-in;
transition: all 0.15s ease-in;
}
diff --git a/templates/index.html b/templates/index.html
index 97eee72d..196b6038 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -246,7 +246,7 @@
Unsaved data will be lost.
Below you can input a genre suggestion for the AI to loosely base the story on (For example Horror or Cowboy).
-