Commit d7612c1066a4af0bdc5a4e50a165b5ff71c7149f

Authored by ww
1 parent 621cf086

perf: hide sidebar add button

@@ -3647,11 +3647,12 @@ @@ -3647,11 +3647,12 @@
3647 } 3647 }
3648 }); 3648 });
3649 3649
3650 - var btn2 = btn.cloneNode(false);  
3651 - btn2.setAttribute('src', Editor.plusImage);  
3652 - btn2.setAttribute('title', mxResources.get('add'));  
3653 - buttons.insertBefore(btn2, buttons.firstChild);  
3654 - mxEvent.addListener(btn2, 'click', addSelection); 3650 + // TODO thingsKit 隐藏 Sidebar 便笺本 +
  3651 + // var btn2 = btn.cloneNode(false);
  3652 + // btn2.setAttribute('src', Editor.plusImage);
  3653 + // btn2.setAttribute('title', mxResources.get('add'));
  3654 + // buttons.insertBefore(btn2, buttons.firstChild);
  3655 + // mxEvent.addListener(btn2, 'click', addSelection);
3655 3656
3656 if (!this.isOffline() && file.title == '.scratchpad' && EditorUi.scratchpadHelpLink != null) 3657 if (!this.isOffline() && file.title == '.scratchpad' && EditorUi.scratchpadHelpLink != null)
3657 { 3658 {