Closed Chokomoko closed 5 years ago
Dear @Mottie. Is there any way to check if altpopup is already added for given input with keyboard? Because when I try to call addAltKeyPopup twice for the same element it throws me error, so id like to avoid it
Hi @Chokomoko!
You can check to see if the altkeypopup_namespace is defined:
altkeypopup_namespace
var altKeyPopupActive = $("#keyboard").getkeyboard().altkeypopup_namespace ? true : false;
Thanks a lot!
Dear @Mottie. Is there any way to check if altpopup is already added for given input with keyboard? Because when I try to call addAltKeyPopup twice for the same element it throws me error, so id like to avoid it