remove sample annotation
This commit is contained in:
parent
2103bce93b
commit
8534eb9b69
1 changed files with 0 additions and 5 deletions
|
@ -337,7 +337,6 @@ txtjs.renderText = function(text) {
|
|||
html = html.replace().replace(/\r\n/g, '\n').replace(/[\r\n]/g, '<br>')
|
||||
txtjs.html = Ox.encodeHTMLEntities(text).replace(/\r\n/g, '\n').replace(/[\r\n]/g, '<br>')
|
||||
window.addEventListener('resize', onResize)
|
||||
window.addEventListener('resizeend', onResizeend)
|
||||
window.addEventListener('scroll', onScroll)
|
||||
document.addEventListener('keydown', function(e) {
|
||||
console.log(e.keyCode)
|
||||
|
@ -420,14 +419,10 @@ txtjs.renderText = function(text) {
|
|||
txtjs.renderSVGs()
|
||||
txtjs.mark(txtjs.notes)
|
||||
})
|
||||
}
|
||||
function onResizeend() {
|
||||
|
||||
}
|
||||
function onScroll() {
|
||||
scrollElement.scrollTop = (window.pageYOffset - margin + 16) * factor
|
||||
}
|
||||
txtjs.mark([{id: 'A', position: '417:468', editable: false}])
|
||||
}
|
||||
|
||||
txtjs.selectNextNote = function(direction) {
|
||||
|
|
Loading…
Reference in a new issue