mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-13 22:54:42 -04:00
Fix variable exporting error
This commit is contained in:
parent
e97b609d91
commit
cc30d370f7
2 changed files with 4 additions and 3 deletions
|
@ -83,6 +83,7 @@ import getUIElements from './lib/editor/ui-elements'
|
|||
|
||||
var defaultTextHeight = 20
|
||||
var viewportMargin = 20
|
||||
var defaultEditorMode = 'gfm'
|
||||
|
||||
var idleTime = 300000 // 5 mins
|
||||
var updateViewDebounce = 100
|
||||
|
@ -363,7 +364,9 @@ function updateStatusBar () {
|
|||
}
|
||||
|
||||
// initalize ui reference
|
||||
// TODO: fix ui exporting
|
||||
const ui = getUIElements()
|
||||
window.ui = ui
|
||||
|
||||
// page actions
|
||||
var opts = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue