Skip to content

Commit

Permalink
Bugfix that.$element is null
Browse files Browse the repository at this point in the history
  • Loading branch information
hrigu committed Jun 19, 2020
1 parent d4b8daa commit 1911361
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions assets/javascripts/bootstrap/tooltip.js
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,10 @@

var complete = function () {
var prevHoverState = that.hoverState

// Optor Christian. 19. Juni 2020. In der Planungssicht gab es immer Fehler, falls man einen Dienst
// zurücklegt und ein Tooltip ist offen...
//https://sentry.io/organizations/optor-ag-q0/issues/1733309121/?project=1221515&query=that.%24element&statsPeriod=14d
if(that.$element != null) {
that.$element.trigger('shown.bs.' + that.type)
that.hoverState = null
Expand Down

0 comments on commit 1911361

Please sign in to comment.