|
|
@@ -396,16 +396,16 @@ US_Browser.IpcBind=function(){
|
|
|
US_Browser.NavContainer.style.padding = "5px 0 0";
|
|
|
US_Browser.RightMenu.style.top='71px';
|
|
|
US_Browser.BrowerContainer.each(function (index,elm) {
|
|
|
- elm.style.top='71px';
|
|
|
- elm.style.height='calc(100% - 70px)';
|
|
|
+ elm.style.top='106px';
|
|
|
+ elm.style.height='calc(100% - 106px)';
|
|
|
})
|
|
|
}else {
|
|
|
US_Browser.ControlButton[1].className='icon-window-maximize';
|
|
|
US_Browser.NavContainer.style.padding = "15px 0 0";
|
|
|
US_Browser.RightMenu.style.top='81px';
|
|
|
US_Browser.BrowerContainer.each(function (index,elm) {
|
|
|
- elm.style.top='81px';
|
|
|
- elm.style.height='calc(100% - 80px)';
|
|
|
+ elm.style.top='116px';
|
|
|
+ elm.style.height='calc(100% - 117px)';
|
|
|
})
|
|
|
}
|
|
|
})
|
|
|
@@ -492,10 +492,10 @@ US_Browser.HeadBind=function(){
|
|
|
BrowersWindow.maximize();
|
|
|
this.className='icon-window-restore';
|
|
|
US_Browser.NavContainer.style.padding = "5px 0 0";
|
|
|
- US_Browser.RightMenu.style.top='71px';
|
|
|
+ US_Browser.RightMenu.style.top='106px';
|
|
|
US_Browser.BrowerContainer.each(function (index,elm) {
|
|
|
- elm.style.top='70px';
|
|
|
- elm.style.height='calc(100% - 70px)';
|
|
|
+ elm.style.top='106px';
|
|
|
+ elm.style.height='calc(100% - 106px)';
|
|
|
})
|
|
|
}else{
|
|
|
BrowersWindow.restore();
|
|
|
@@ -503,8 +503,8 @@ US_Browser.HeadBind=function(){
|
|
|
US_Browser.NavContainer.style.padding = "15px 0 0";
|
|
|
US_Browser.RightMenu.style.top='81px';
|
|
|
US_Browser.BrowerContainer.each(function (index,elm) {
|
|
|
- elm.style.top='81px';
|
|
|
- elm.style.height='calc(100% - 80px)';
|
|
|
+ elm.style.top='116px';
|
|
|
+ elm.style.height='calc(100% - 117px)';
|
|
|
})
|
|
|
}
|
|
|
isBig=!isBig;
|
|
|
@@ -835,7 +835,7 @@ US_Browser.HeadBind=function(){
|
|
|
// 标签页拖动、右键单击事件
|
|
|
US_Browser.BrowerList.drag = function () {
|
|
|
US_Browser.tags = document.querySelectorAll('.bowerCreaterWindow .BrowerList');
|
|
|
- US_Browser.tagEL = null;
|
|
|
+ US_Browser.tagEL = null;
|
|
|
[].forEach.call(US_Browser.tags,function(BrowerList){
|
|
|
// 用户开始拖动元素或文本选择时会触发该事件
|
|
|
BrowerList.addEventListener('dragstart',US_Browser.tagdragstart,false)
|
|
|
@@ -858,7 +858,7 @@ US_Browser.HeadBind=function(){
|
|
|
tagEL = e.target;
|
|
|
}
|
|
|
US_Browser.tagdragenter = function(e) {
|
|
|
-
|
|
|
+
|
|
|
}
|
|
|
US_Browser.tagdragover = function(e) {
|
|
|
// 防止默认行为
|
|
|
@@ -866,7 +866,7 @@ US_Browser.HeadBind=function(){
|
|
|
e.dataTransfer.dropEffect = 'move';
|
|
|
}
|
|
|
US_Browser.tagdragleave = function(e) {
|
|
|
- tagELf=false;
|
|
|
+ tagELf=false;
|
|
|
}
|
|
|
US_Browser.tagdrop = function(e) {
|
|
|
e.preventDefault();
|