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