Gaspare Sganga

IT Manager, GIS Analyst & Lead Developer @setin.

Freelance Developer & Consultant.

Buy me a coffee?

This is a tiny improvement for the plugin’s code itself, but it could be a great leap for some developers’ debugging.

What’s new

Some warnings are thrown when PopupWindow’s actions are called on an element where PopupWindow has not been initialized yet.
Of course the only exception is the GetState action, which still returns undefined if PopupWindow has not been initialized.

This does not affect in any way the user experience: your users won’t even notice if one of those warnings has been thrown (unless they have their browser’s console active to check if you made some mistakes in your code…).

Download and documentation

Go to the Lab page: jQuery PopupWindow