Fix css/js textboxes on channelCSSJS frame
This commit is contained in:
parent
c2b4033903
commit
e3d12007b3
|
@ -281,7 +281,7 @@ Callbacks = {
|
|||
channelCSSJS: function(data) {
|
||||
$("#chancss").remove();
|
||||
CHANNEL.css = data.css;
|
||||
$("#csstext").val(data.css);
|
||||
$("#cs-csstext").val(data.css);
|
||||
if(data.css && !USEROPTS.ignore_channelcss) {
|
||||
$("<style/>").attr("type", "text/css")
|
||||
.attr("id", "chancss")
|
||||
|
@ -291,7 +291,7 @@ Callbacks = {
|
|||
|
||||
$("#chanjs").remove();
|
||||
CHANNEL.js = data.js;
|
||||
$("#jstext").val(data.js);
|
||||
$("#cs-jstext").val(data.js);
|
||||
|
||||
if(data.js && !USEROPTS.ignore_channeljs) {
|
||||
var src = data.js
|
||||
|
|
Loading…
Reference in a new issue