mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-01 11:40:25 +00:00
remove tour (and sortable, stickyheader, tooltips) from mobile devices #995
This commit is contained in:
parent
3461d794a1
commit
7af9553aef
1 changed files with 6 additions and 4 deletions
|
|
@ -222,10 +222,12 @@ module.exports.app = (appExports, model, app) ->
|
|||
|
||||
app.on 'render', (ctx) ->
|
||||
#restoreRefs(model)
|
||||
setupSortable(model)
|
||||
setupTooltips(model)
|
||||
setupTour(model)
|
||||
initStickyHeader(model) unless model.get('_mobileDevice')
|
||||
unless model.get('_mobileDevice')
|
||||
setupTooltips(model)
|
||||
initStickyHeader(model)
|
||||
setupSortable(model)
|
||||
setupTour(model)
|
||||
|
||||
$('.datepicker').datepicker({autoclose:true, todayBtn:true})
|
||||
.on 'changeDate', (ev) ->
|
||||
#for some reason selecting a date doesn't fire a change event on the field, meaning our changes aren't saved
|
||||
|
|
|
|||
Loading…
Reference in a new issue