$.suuperbox() Replace content
Issue #44
resolved
im getting superbox from anoher page and it needs $.suuperbox() call. if main page has this one, after my call , it makes 2 and all contents coming 2. i want that: if page has one $.superbox() , dont need second one. i wanna control it. how ??
Comments (2)
-
-
- changed status to resolved
thank you pierre.its working. ive added below codes to the 72line and it worked. Prevent multiple inits if ($this.data("superbox_init")) { return; } $this.data("superbox_init", true);
- Log in to comment
Seems to be fixed in dev version : 01113fb12071
Can you confirm?