@@ -, +, @@ accessible --- koha-tmpl/opac-tmpl/bootstrap/js/overdrive.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/koha-tmpl/opac-tmpl/bootstrap/js/overdrive.js +++ a/koha-tmpl/opac-tmpl/bootstrap/js/overdrive.js @@ -86,7 +86,8 @@ KOHA.OverDriveCirculation = new function() { $( document ).ready(function() { var p = window.opener; if (p) { - cb = p.refresh_overdrive_account_details; + try { cb = p.refresh_overdrive_account_details;} + catch(err){ return; } //Catch error if opener is not accessible if (cb) { cb(); } else { --