Skip to content

Commit b104290

Browse files
committed
Remove legacy workaround; closes #62
1 parent 190782d commit b104290

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

js/kunai/ui/treeview.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -350,16 +350,6 @@ class Treeview {
350350
this.root = $('<div>', {class: 'tree v2'}).appendTo(this.e)
351351
this.opts = Object.assign({}, opts)
352352
this.legacy = this.opts.legacy
353-
this.forceLegacy = false
354-
355-
{
356-
let aaa = $('<label>', {id: 'forceLegacyWrapper'}).append($('<div>', {class: 'notice'}).text('Legacy sidebar')).prependTo(this.e)
357-
this.forceLegacyCheck = $('<input>', {id: 'forceLegacy', type: 'checkbox'}).appendTo(aaa)
358-
}
359-
360-
this.forceLegacyCheck.change((e) => {
361-
this.e.toggleClass('force-legacy')
362-
})
363353

364354
this.log.debug('initialzing...')
365355

0 commit comments

Comments
 (0)