mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-04 09:39:23 +00:00
reload javascript files on dom reset
This commit is contained in:
parent
f25a53c3b6
commit
5728bf4731
1 changed files with 4 additions and 1 deletions
|
|
@ -15,9 +15,12 @@ module.exports.resetDom = (model) ->
|
|||
window.DERBY.app.dom.clear()
|
||||
restoreRefs(model)
|
||||
window.DERBY.app.view.render(model)
|
||||
$('.datepicker').datepicker();
|
||||
reconstructPage model
|
||||
|
||||
module.exports.app = (appExports, model) ->
|
||||
reconstructPage model
|
||||
|
||||
reconstructPage = (model) ->
|
||||
loadJavaScripts(model)
|
||||
setupSortable(model)
|
||||
setupTooltips(model)
|
||||
|
|
|
|||
Loading…
Reference in a new issue