@br0ken/simpletooltip
Advanced tools
Comparing version 3.3.0 to 3.3.1
@@ -6,3 +6,3 @@ { | ||
"license": "MIT", | ||
"version": "3.3.0", | ||
"version": "3.3.1", | ||
"homepage": "https://github.com/BR0kEN-/simpleTooltip", | ||
@@ -9,0 +9,0 @@ "description": "CSS tooltips with position control via JS.", |
@@ -215,3 +215,6 @@ /** | ||
if (options.shift && options.title) { | ||
element.setAttribute(plugin.attrs.shift, options.shift); | ||
if (typeof options.hideIf === 'function' && !options.hideIf(element)) { | ||
element.setAttribute(plugin.attrs.shift, options.shift); | ||
} | ||
element.setAttribute(plugin.attrs.title, options.title); | ||
@@ -218,0 +221,0 @@ element.simpleTooltipHideIf = options.hideIf; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
79428
467