trretretret commited on
Commit
defcdae
·
1 Parent(s): 26ab438
Files changed (1) hide show
  1. public/notebin.js +9 -5
public/notebin.js CHANGED
@@ -39,11 +39,6 @@ function getCurrentLineString(element) {
39
  }
40
 
41
 
42
- let url_div=document.querySelector('#url_div');
43
- url_div.innerText=window.location.href;
44
- url_div.addEventListener('click',()=>{
45
- url_div.scrollIntoView({ behavior: 'smooth' });
46
- })
47
 
48
 
49
 
@@ -117,8 +112,17 @@ window.tuieditor.mdEditor.el.addEventListener('keydown', function(event) {
117
  }
118
  });
119
 
 
 
 
 
 
 
 
120
  }, 1000);
121
 
 
 
122
  // editor.insertToolbarItem({ groupIndex: 0, itemIndex: 0 }, {
123
  // name: 'myItem',
124
  // tooltip: 'Custom Button',
 
39
  }
40
 
41
 
 
 
 
 
 
42
 
43
 
44
 
 
112
  }
113
  });
114
 
115
+ let url_div=document.querySelector('#url_div');
116
+ url_div.innerText=window.location.href;
117
+ url_div.addEventListener('click',()=>{
118
+ url_div.scrollIntoView({ behavior: 'smooth' });
119
+ })
120
+
121
+
122
  }, 1000);
123
 
124
+
125
+
126
  // editor.insertToolbarItem({ groupIndex: 0, itemIndex: 0 }, {
127
  // name: 'myItem',
128
  // tooltip: 'Custom Button',