diff --git a/assets/js/icecoder.js b/assets/js/icecoder.js index 8838586..ca599a2 100644 --- a/assets/js/icecoder.js +++ b/assets/js/icecoder.js @@ -39,6 +39,7 @@ var ICEcoder = { draggingTab: false, // If we're dragging a tab draggingWithKey: false, // The key that's down while dragging, false if no key tabLeftPos: [], // Array of left positions of tabs inside content area + overCloseLink: false, // If mouse is over close link on tab or not colorCurrentBG: '#1d1d1b', // Current tab/file background color colorCurrentText: '#fff', // Current tab/file text color colorOpenBG: '#c3c3c3', // Open tab/file background color @@ -4175,7 +4176,7 @@ var ICEcoder = { this.openFiles.push(shortURL); // Setup a new tab - closeTabLink = ''; + closeTabLink = ''; get('tab' + (this.openFiles.length)).style.display = "inline-block"; fileName = this.openFiles[this.openFiles.length - 1]; fileExt = fileName.substr(fileName.lastIndexOf(".") + 1); @@ -4223,7 +4224,7 @@ var ICEcoder = { this.openFiles[tabNum - 1] = newName; // Setup a new tab - closeTabLink = ''; + closeTabLink = ''; fileName = this.openFiles[tabNum - 1]; fileExt = fileName.substr(fileName.lastIndexOf(".") + 1); get('tab' + tabNum).innerHTML = closeTabLink + "" + fileName.slice(fileName.lastIndexOf("/")).replace(/\//, ""); diff --git a/index.php b/index.php index 96db7b7..eb427b7 100644 --- a/index.php +++ b/index.php @@ -312,7 +312,7 @@ if (true === $havePrettier && true === file_exists(dirname(__FILE__) . "/plugins '; + echo '
'; } ?>
+