nyroModal
nyroModal copied to clipboard
Disable closeOnClick after key down
I want to set the parameter closeOnClick to false, when something is typed in the modal.
I tried:
callbacks: { keyHandle: function(nm){ debug(nm.closeOnClick); nm.closeOnClick = false; $.nmTop({closeOnClick : false}); $.nmObj({closeOnClick: false}); debug(nm.closeOnClick); } }
But none of them sets the value to false. How can I manage this?