mirror of https://github.com/calzoneman/sync.git
Don't remove user theme when channel CSS is set
This commit is contained in:
parent
c8dac585ed
commit
ef6a415c1b
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue