desired mdl behavior added to host button for trial purposes

This commit is contained in:
Abdallah Soliman 2016-07-12 20:23:41 -05:00
parent 17ee04333e
commit 4961af16dc

View File

@ -523,7 +523,7 @@ function onWindowLoad(){
hosts = previousValue.hosts != null ? previousValue.hosts : [];
for(var i = 0; i < hosts.length; i++) { // programmatically add each new host.
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.innerHTML = hosts[i];
$(cell).prepend($("<img>", {src: "static/res/ic_desktop_windows_white_24px.svg"}));