|
@@ -1039,7 +1039,7 @@ function removeTab(tabid){
|
|
$(targetTab).remove();
|
|
$(targetTab).remove();
|
|
//I have no idea why this only works with a delay... but just don't change this.
|
|
//I have no idea why this only works with a delay... but just don't change this.
|
|
setTimeout(function(){
|
|
setTimeout(function(){
|
|
- var focusTarget = $(".fileTab").first().attr("tabid");
|
|
|
|
|
|
+ var focusTarget = $(".fileTab").last().attr("tabid");
|
|
focusTab(focusTarget); }, 100);
|
|
focusTab(focusTarget); }, 100);
|
|
}else{
|
|
}else{
|
|
$(targetTab).remove();
|
|
$(targetTab).remove();
|