Minor cleanup of no longer used things

This commit is contained in:
Calvin Montgomery 2017-07-26 20:32:51 -07:00
parent f593f7283c
commit 7bd9934e58
4 changed files with 1 additions and 6 deletions

View file

@ -2,7 +2,7 @@
"author": "Calvin Montgomery",
"name": "CyTube",
"description": "Online media synchronizer and chat",
"version": "3.43.2",
"version": "3.43.3",
"repository": {
"url": "http://github.com/calzoneman/sync"
},

View file

@ -128,11 +128,8 @@ html(lang="en")
include footer
+footer()
script(type="text/javascript").
var USEROPTS = { secure_connection: true };
script(src=sioSource)
script(src="/sioconfig")
script(src="/js/util.js")
script(src="/js/paginator.js")
script(src="/js/chart.js")
script(src="/js/acp.js")

View file

@ -125,7 +125,6 @@ var USEROPTS = {
sort_afk : getOrDefault("sort_afk", false),
default_quality : getOrDefault("default_quality", "auto"),
boop : getOrDefault("boop", "never"),
secure_connection : getOrDefault("secure_connection", false),
show_shadowchat : getOrDefault("show_shadowchat", false),
emotelist_sort : getOrDefault("emotelist_sort", true),
no_emotes : getOrDefault("no_emotes", false),

View file

@ -660,7 +660,6 @@ function saveUserOptions() {
USEROPTS.layout = $("#us-layout").val();
USEROPTS.ignore_channelcss = $("#us-no-channelcss").prop("checked");
USEROPTS.ignore_channeljs = $("#us-no-channeljs").prop("checked");
USEROPTS.secure_connection = $("#us-ssl").prop("checked");
USEROPTS.synch = $("#us-synch").prop("checked");
USEROPTS.sync_accuracy = parseFloat($("#us-synch-accuracy").val()) || 2;