1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

camelCase var fix

This commit is contained in:
Richmond Macaspac 2020-03-12 03:22:04 -05:00
parent 6a308ffae7
commit 560fe45087

View file

@ -362,13 +362,13 @@ define(["apphost", "globalize", "connectionManager", "itemHelper", "appRouter",
document.body.removeChild(textArea); document.body.removeChild(textArea);
}; };
if (navigator.clipboard === undefined) { if (navigator.clipboard === undefined) {
textareaCopy(); textAreaCopy();
} else { } else {
navigator.clipboard.writeText(downloadHref).then(function () { navigator.clipboard.writeText(downloadHref).then(function () {
require(["toast"], function (toast) { require(["toast"], function (toast) {
toast(globalize.translate("CopyStreamURLSuccess")); toast(globalize.translate("CopyStreamURLSuccess"));
}); });
}, textareaCopy); }, textAreaCopy);
} }
getResolveFunction(resolve, id)(); getResolveFunction(resolve, id)();
break; break;