diff --git a/lib/file-control.php b/lib/file-control.php
index 042bba2..b7bc276 100644
--- a/lib/file-control.php
+++ b/lib/file-control.php
@@ -147,7 +147,7 @@ if ($_GET['action']=="save") {
echo 'top.ICEcoder.renameTab(top.ICEcoder.selectedTab,\''.$fileLoc."/".$fileName.'\');';
}
// Reload stickytab window
- echo '';
+ echo '';
} else {
$loadedFile = file_get_contents($file);
echo '","",htmlentities($loadedFile)).'';
diff --git a/lib/ice-coder.js b/lib/ice-coder.js
index e47a930..87afc0c 100644
--- a/lib/ice-coder.js
+++ b/lib/ice-coder.js
@@ -26,8 +26,7 @@ var ICEcoder = {
mouseDown: false, // If the mouse is down or not
draggingFilesW: false, // If we're dragging the file manager width or not
serverQueueItems: [], // Array of URLs to call in order
- stickyTab: false, // If we have a sticky tab open or not
- stickyTabWindow: false, // Target variable for the sticky tab window
+ stickyTab: false, // Target variable for the sticky tab window
pluginIntervalRefs: [], // Array of plugin interval refs
dragSrcEl: null, // Tab element being dragged
ready: false, // Indicates if ICEcoder is ready for action
@@ -1685,8 +1684,7 @@ var ICEcoder = {
// CTRL+Enter (Open Webpage)
} else if(key==13 && top.ICEcoder.ctrlKeyDown==true && top.ICEcoder.openFiles[top.ICEcoder.selectedTab-1] != "/[NEW]") {
if (top.ICEcoder.stickyTabMaybe) {
- top.ICEcoder.stickyTabWindow = window.open(top.ICEcoder.openFiles[top.ICEcoder.selectedTab-1],"stickyTab");
- top.ICEcoder.stickyTab = true;
+ top.ICEcoder.stickyTab = window.open(top.ICEcoder.openFiles[top.ICEcoder.selectedTab-1],"stickyTab");
} else {
window.open(top.ICEcoder.openFiles[top.ICEcoder.selectedTab-1]);
}