Skip to content

Commit

Permalink
馃悰 fixed issue Stopwatch Toast Persists #190
Browse files Browse the repository at this point in the history
猬嗭笍 updated package dependencies
  • Loading branch information
faburem committed Dec 12, 2023
1 parent 5717040 commit 1e09809
Show file tree
Hide file tree
Showing 4 changed files with 162 additions and 158 deletions.
5 changes: 4 additions & 1 deletion imports/startup/client/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ if (!Meteor.settings.public.sandstorm) {
}
}], { except: ['dashboard', 'signIn', 'changePassword', 'register', 'reset-password', 'try'] })
FlowRouter.triggers.exit([() => {
$("[data-toggle='popover']").popover('hide')
$("[data-bs-toggle='popover']").popover('hide')
$("[data-bs-toggle='tooltip']").tooltip('hide')
$('.tooltip').remove()
$('.popover').remove()
}], { except: ['claimAdmin'] })
}
FlowRouter.route('*', {
Expand Down
1 change: 1 addition & 0 deletions imports/ui/pages/track/components/timetracker.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ Template.timetracker.events({
templateInstance.project?.set($('.js-target-project').val())
templateInstance.task?.set($('.js-tasksearch-input').val())
templateInstance.startTime?.set($('#startTime').val())
templateInstance.$('[data-bs-toggle="tooltip"]').tooltip('hide')
const customFields = CustomFields.find().fetch()
const customFieldsToSave = []
if (customFields.length > 0) {
Expand Down

0 comments on commit 1e09809

Please sign in to comment.