File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -105,6 +105,9 @@ function TooltipController(options) {
105105
106106 tipElement . data ( DATA_MOUSEONTOTIP , options . mouseOnToPopup ) ;
107107
108+ // add custom class to tooltip element
109+ tipElement . addClass ( options . popupClass ) ;
110+
108111 // set tooltip position
109112 if ( ! options . followMouse ) {
110113 positionTipOnElement ( element ) ;
@@ -113,9 +116,6 @@ function TooltipController(options) {
113116 positionTipOnCursor ( ) ;
114117 }
115118
116- // add custom class to tooltip element
117- tipElement . addClass ( options . popupClass ) ;
118-
119119 // close tooltip when clicking anywhere on the page, with the exception
120120 // of the tooltip's trigger element and any elements that are within a
121121 // tooltip that has 'mouseOnToPopup' option enabled
You can’t perform that action at this time.
0 commit comments