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
The current version of prettyCheckable throws an exception that doesn't really make a lot of sense when the selector doesn't match anything found in the DOM.
On my project I have added the following to stop it from throwing exceptions.
instance = this.data( dataPlugin );
+ if (!instance) {
+ console.warn("prettyCheckable: Selector returned no results");
+ return;
+ }
+
instance.element = this;
The text was updated successfully, but these errors were encountered:
The current version of prettyCheckable throws an exception that doesn't really make a lot of sense when the selector doesn't match anything found in the DOM.
On my project I have added the following to stop it from throwing exceptions.
The text was updated successfully, but these errors were encountered: