mirror of
https://github.com/icecoder/ICEcoder.git
synced 2026-03-10 02:26:48 +01:00
Fix to font size selector child, outputMsg added
This commit is contained in:
@@ -3374,7 +3374,7 @@ var ICEcoder = {
|
||||
thisCSS[strCSS][0].style['fontSize'] = fontSize;
|
||||
|
||||
// Update styles in editor
|
||||
thisCSS = ICEcoder.content.contentWindow.document.styleSheets[4];
|
||||
thisCSS = ICEcoder.content.contentWindow.document.styleSheets[6];
|
||||
strCSS = thisCSS.rules ? 'rules' : 'cssRules';
|
||||
thisCSS[strCSS][0].style['fontSize'] = fontSize;
|
||||
thisCSS[strCSS][4].style['border-left-width'] = visibleTabs ? '1px' : '0';
|
||||
@@ -3543,6 +3543,11 @@ var ICEcoder = {
|
||||
window.location = window.location + "?logout&"+(type ? "type="+type+"&" : "")+"csrf="+top.ICEcoder.csrf;
|
||||
},
|
||||
|
||||
// Show a message
|
||||
outputMsg: function(msg) {
|
||||
top.ICEcoder.output.innerHTML += msg + "<br>";
|
||||
},
|
||||
|
||||
// Show a message
|
||||
message: function(msg) {
|
||||
alert(msg);
|
||||
|
||||
Reference in New Issue
Block a user