Don't remove user theme when channel CSS is set

This commit is contained in:
Calvin Montgomery 2013-06-04 22:36:49 -04:00
parent c8dac585ed
commit ef6a415c1b
1 changed files with 0 additions and 2 deletions

View File

@ -206,7 +206,6 @@ Callbacks = {
$("#opt_show_public").prop("checked", opts.show_public);
$("#customCss").remove();
if(opts.customcss.trim() != "") {
$("#usertheme").remove();
$("<link/>")
.attr("rel", "stylesheet")
.attr("href", opts.customcss)
@ -253,7 +252,6 @@ Callbacks = {
$("#jstext").val(data.js);
if(data.css) {
$("#usertheme").remove();
$("<style/>").attr("type", "text/css")
.attr("id", "chancss")
.text(data.css)