mirror of
https://github.com/moonlight-stream/moonlight-chrome.git
synced 2025-08-18 09:06:47 +00:00
desired mdl behavior added to host button for trial purposes
This commit is contained in:
parent
17ee04333e
commit
4961af16dc
@ -523,7 +523,7 @@ function onWindowLoad(){
|
|||||||
hosts = previousValue.hosts != null ? previousValue.hosts : [];
|
hosts = previousValue.hosts != null ? previousValue.hosts : [];
|
||||||
for(var i = 0; i < hosts.length; i++) { // programmatically add each new host.
|
for(var i = 0; i < hosts.length; i++) { // programmatically add each new host.
|
||||||
var cell = document.createElement('div');
|
var cell = document.createElement('div');
|
||||||
cell.className += 'mdl-cell mdl-cell--3-col host-cell';
|
cell.className += 'mdl-cell mdl-cell--3-col host-cell mdl-button mdl-js-button mdl-js-ripple-effect';
|
||||||
cell.id = 'hostgrid-' + hosts[i];
|
cell.id = 'hostgrid-' + hosts[i];
|
||||||
cell.innerHTML = hosts[i];
|
cell.innerHTML = hosts[i];
|
||||||
$(cell).prepend($("<img>", {src: "static/res/ic_desktop_windows_white_24px.svg"}));
|
$(cell).prepend($("<img>", {src: "static/res/ic_desktop_windows_white_24px.svg"}));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user