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

update toast

This commit is contained in:
Luke Pulverenti 2016-02-25 01:38:12 -05:00
parent b3d91930d3
commit 91cedefe29
39 changed files with 165 additions and 67 deletions

View file

@ -15,12 +15,12 @@
},
"devDependencies": {},
"ignore": [],
"version": "1.0.95",
"_release": "1.0.95",
"version": "1.0.96",
"_release": "1.0.96",
"_resolution": {
"type": "version",
"tag": "1.0.95",
"commit": "42219487ac4733e83807f9995433ec8485ad1c65"
"tag": "1.0.96",
"commit": "b77e4d74466f5960adc27e2cb7b55ef3d22f14dd"
},
"_source": "git://github.com/MediaBrowser/emby-webcomponents.git",
"_target": "~1.0.0",

View file

@ -4,6 +4,12 @@ define(['paper-toast'], function () {
return function (options) {
if (typeof options === 'string') {
options = {
text: options
};
}
var elem = document.createElement("paper-toast");
elem.setAttribute('text', options.text);
elem.id = 'toast' + (toastId++);