okayNav icon indicating copy to clipboard operation
okayNav copied to clipboard

Global _options variable avoids using multi okayNav instance in one page

Open pmoradei opened this issue 8 years ago • 2 comments

Hi, very nice plugin!

My problem : _options variable is declared globally and can cause problems if I use several okayNav instances in one page. Do you think it could become a instance property?

Same problem for the $navigation,$nav_visible,$nav_invisible variables. Do you think they could also become instance properties?

pmoradei avatar Mar 09 '16 14:03 pmoradei

Currently it's not possible to use okayNav in multiple instances for a variety of reasons. At least, not out of the box anyway. But yeah, point taken, leaving this open for now.

VPenkov avatar Mar 15 '16 15:03 VPenkov

Ok, thanks

pmoradei avatar Mar 16 '16 10:03 pmoradei