Commit e2ae3453 authored by Paweł Wegner's avatar Paweł Wegner

cloudbrowser: fixed media player warning.

parent a3e19780
......@@ -63,7 +63,7 @@ Kirigami.Page {
function update_notification() {
if (item.type === "audio" || item.type === "video")
platform.showPlayerNotification(playing, item.filename, item_page.label);
platform.showPlayerNotification(playing, item.filename, item_page ? item_page.label : "");
else
platform.hidePlayerNotification();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment