I get the following error: Uncaught Error: cannot call methods on dialog prior to initialization; attempted to call method 'close'
When using the following jquery script:
http://rigoneri.github.io/timeout-dialog.js/js/timeout-dialog.js
The specific errors in dev tools are here
and I invoke the function here:
$(function () {
$("#timeout-example").click(function(e) {
e.preventDefault();
$.timeoutDialog({timeout: 1, countdown: 60, logout_redirect_url: 'https://google.com', position: 'absolute', restart_on_yes: false});
});
});
Simply can't get it to be functional