diff --git a/seminar/plugin.js b/seminar/plugin.js index 15434d0..219d7f1 100644 --- a/seminar/plugin.js +++ b/seminar/plugin.js @@ -48,7 +48,7 @@ const initSeminar = function(Reveal){ return; } - const logger = window[ seminar.logger || "defaultLogger" ]; + const logger = seminar.logger || defaultLogger; var socket = io.connect( seminar.server ); if ( seminar.callback )