From 75a47261bb9fe39152c0b66c5cf893048e1c43dd Mon Sep 17 00:00:00 2001 From: Erik Thuning <boooink@gmail.com> Date: Fri, 6 Sep 2024 15:14:05 +0200 Subject: [PATCH] Fixed getArgs() returning a non-null value for the playlist when no playlist was passed. --- player.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/player.js b/player.js index 0d53d32..03043cc 100644 --- a/player.js +++ b/player.js @@ -151,7 +151,7 @@ function getArgs() { return '/presentation/' + this.presentation } out.getList = function() { - if(this.debug) { + if(!this.playlist || this.debug) { return this.playlist } return '/playlist/' + this.playlist