This repository was archived by the owner on Dec 14, 2023. It is now read-only.
File tree 4 files changed +4
-5
lines changed
4 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -1441,7 +1441,7 @@ var ICEcoder = {
1441
1441
} ;
1442
1442
// For each line in editor
1443
1443
this . getThisCM ( ) . eachLine ( function ( line ) {
1444
- // The number we're seeking if greater than prev linees we've considered plus this line
1444
+ // The number we're seeking if greater than prev lines we've considered plus this line
1445
1445
if ( num > ICEcoder . charPos . len + ( line . text + "\n" ) . length ) {
1446
1446
// Increment line
1447
1447
ICEcoder . charPos . thisLine ++ ;
@@ -3383,7 +3383,7 @@ var ICEcoder = {
3383
3383
get ( 'saveTemp' + nextSaveID ) . value = cM . getValue ( ) ;
3384
3384
// Else we can save the JSON version of the changes to implement
3385
3385
} else {
3386
- get ( 'saveTemp' + nextSaveID ) . value = this . serverQueueItems [ 0 ] . changes ;
3386
+ get ( 'saveTemp' + nextSaveID ) . value = changes ;
3387
3387
}
3388
3388
}
3389
3389
} else if ( action == "del" ) {
Original file line number Diff line number Diff line change 55
55
echo "default " === $ ICEcoder ["theme " ] ? 'icecoder.css ' : $ ICEcoder ["theme " ] . '.css ' ;
56
56
echo "?microtime= " .microtime (true );
57
57
?> ">
58
- <link rel="icon" type="image/png" href="assets/images/favicon.png">
58
+ <link rel="icon" type="image/png" href="<?php echo $ iceURLPath ; ?> / assets/images/favicon.png">
59
59
<script>
60
60
iceRoot = "<?php echo $ ICEcoder ['root ' ]; ?> ";
61
61
Original file line number Diff line number Diff line change @@ -421,7 +421,7 @@ function showButton() {
421
421
422
422
function showHideTabs() {
423
423
let cMCSS = document.styleSheets[2];
424
- cMCSS.rules ? strCSS = 'rules' : strCSS = 'cssRules';
424
+ let strCSS = cMCSS.rules ? 'rules' : 'cssRules';
425
425
cMCSS[strCSS][2].style['border-left-width'] = document.settings.visibleTabs.checked ? '1px' : '0';
426
426
cMCSS[strCSS][2].style['margin-left'] = document.settings.visibleTabs.checked ? '-1px' : '0';
427
427
}
Original file line number Diff line number Diff line change 64
64
responseJSON = JSON.parse(responseText);
65
65
newOutput.innerHTML = responseJSON.output;
66
66
document.getElementById("user").innerHTML = "  " + responseJSON.user + " ";
67
- document.getElementById("user").innerHTML = "  " + responseJSON.user + " ";
68
67
document.getElementById("cwd").innerHTML = " " + responseJSON.cwd + " ";
69
68
var cmdElem = document.getElementById("commandLine");
70
69
cmdElem.parentNode.insertBefore(newOutput, cmdElem);
You can’t perform that action at this time.
0 commit comments