You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
According to the jdoc comments in the code, the 'options' parameter for tooltip method can be an object|string|jquery. However, when passing a jQuery object, a Uncaught TypeError: e.replace is not a function exception is encountered.
To Reproduce
Steps to reproduce the behavior:
Open tooltip example
In console, execute $('img').mapster('tooltip', 'blue-circle', $('<div/>').text('my tooltip') )
Encounter Uncaught TypeError: e.replace is not a function exception
In console, execute $('img').mapster('tooltip', $('b'), $('<div/>').text('my tooltip'))
Encounter Uncaught TypeError: e.replace is not a function exception
Expected behavior
The tooltip should display and no exception should occur.
Screenshots
N/A
Desktop (please complete the following information):
N/A
Smartphone (please complete the following information):
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered:
Describe the bug
According to the jdoc comments in the code, the 'options' parameter for tooltip method can be an object|string|jquery. However, when passing a jQuery object, a
Uncaught TypeError: e.replace is not a function
exception is encountered.To Reproduce
Steps to reproduce the behavior:
$('img').mapster('tooltip', 'blue-circle', $('<div/>').text('my tooltip') )
Uncaught TypeError: e.replace is not a function
exception$('img').mapster('tooltip', $('b'), $('<div/>').text('my tooltip'))
Uncaught TypeError: e.replace is not a function
exceptionExpected behavior
The tooltip should display and no exception should occur.
Screenshots
N/A
Desktop (please complete the following information):
N/A
Smartphone (please complete the following information):
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered: