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
There is an issue with joNavbar that prevent it from being extended (subclassed).
The listener for the back button is a function called back. But in the constructor function, it is replaced by the back property which hold the reference to the joBackButton.
The code works because when adding the event listener, the reference to the function has not be called yet, but this cause issues when extending the joNavbar.
The listener should be named goBack instead of back (or any other name that is not back).
The text was updated successfully, but these errors were encountered:
There is an issue with joNavbar that prevent it from being extended (subclassed).
The listener for the back button is a function called back. But in the constructor function, it is replaced by the back property which hold the reference to the joBackButton.
The code works because when adding the event listener, the reference to the function has not be called yet, but this cause issues when extending the joNavbar.
The listener should be named goBack instead of back (or any other name that is not back).
The text was updated successfully, but these errors were encountered: