Skip to content
This repository has been archived by the owner on Dec 14, 2023. It is now read-only.

Commit

Permalink
Typo fixes, changes not 0 array value, fix favicon path, scope strCSS
Browse files Browse the repository at this point in the history
  • Loading branch information
mattpass committed Jul 21, 2020
1 parent 0027304 commit 4ed6fd6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions assets/js/icecoder.js
Original file line number Diff line number Diff line change
Expand Up @@ -1441,7 +1441,7 @@ var ICEcoder = {
};
// For each line in editor
this.getThisCM().eachLine(function(line) {
// The number we're seeking if greater than prev linees we've considered plus this line
// The number we're seeking if greater than prev lines we've considered plus this line
if (num > ICEcoder.charPos.len + (line.text + "\n").length) {
// Increment line
ICEcoder.charPos.thisLine++;
Expand Down Expand Up @@ -3383,7 +3383,7 @@ var ICEcoder = {
get('saveTemp'+nextSaveID).value = cM.getValue();
// Else we can save the JSON version of the changes to implement
} else {
get('saveTemp'+nextSaveID).value = this.serverQueueItems[0].changes;
get('saveTemp'+nextSaveID).value = changes;
}
}
} else if (action=="del") {
Expand Down
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
echo "default" === $ICEcoder["theme"] ? 'icecoder.css' : $ICEcoder["theme"] . '.css';
echo "?microtime=".microtime(true);
?>">
<link rel="icon" type="image/png" href="assets/images/favicon.png">
<link rel="icon" type="image/png" href="<?php echo $iceURLPath;?>/assets/images/favicon.png">
<script>
iceRoot = "<?php echo $ICEcoder['root']; ?>";

Expand Down
2 changes: 1 addition & 1 deletion lib/settings-screen.php
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ function showButton() {

function showHideTabs() {
let cMCSS = document.styleSheets[2];
cMCSS.rules ? strCSS = 'rules' : strCSS = 'cssRules';
let strCSS = cMCSS.rules ? 'rules' : 'cssRules';
cMCSS[strCSS][2].style['border-left-width'] = document.settings.visibleTabs.checked ? '1px' : '0';
cMCSS[strCSS][2].style['margin-left'] = document.settings.visibleTabs.checked ? '-1px' : '0';
}
Expand Down
1 change: 0 additions & 1 deletion terminal.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@
responseJSON = JSON.parse(responseText);
newOutput.innerHTML = responseJSON.output;
document.getElementById("user").innerHTML = "&nbsp;&nbsp" + responseJSON.user + "&nbsp;";
document.getElementById("user").innerHTML = "&nbsp;&nbsp" + responseJSON.user + "&nbsp;";
document.getElementById("cwd").innerHTML = "&nbsp;" + responseJSON.cwd + "&nbsp;";
var cmdElem = document.getElementById("commandLine");
cmdElem.parentNode.insertBefore(newOutput, cmdElem);
Expand Down

0 comments on commit 4ed6fd6

Please sign in to comment.