mirror of https://github.com/calzoneman/sync.git
Solve #130
This commit is contained in:
parent
777d767466
commit
8da604fd8a
|
@ -228,7 +228,6 @@ Callbacks = {
|
|||
},
|
||||
|
||||
channelCSSJS: function(data) {
|
||||
console.log("recv cssjs", data);
|
||||
$("#chancss").remove();
|
||||
$("#chanjs").remove();
|
||||
|
||||
|
@ -236,6 +235,7 @@ 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