Skip to content

Commit

Permalink
Image functionality fixed on Device Listing
Browse files Browse the repository at this point in the history
  • Loading branch information
clj13001 committed Feb 24, 2017
1 parent f4ec3d2 commit 44bb506
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WebContent/html/javascript/listing.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ showAll();
function showAll(){
var html = '';
for(var i = 0; i < devices.length; i++){
html += '<div class = "deviceContainer"><div class = "imgContainer"><img src="../imgs/' + devices[i].hardware + '.png" class = "device">' + devices[i].name + '</div><div class = "deviceDescp"><p>' + devices[i].description + '</p><div class = "availableAnchor" id = "' + (i+1) + '"></div></div></div><br><br>';
html += '<div class = "deviceContainer"><div class = "imgContainer"><img src="../imgs/my-icons-collection-devices/png/' + devices[i].hardware + '.png" class = "device">' + devices[i].name + '</div><div class = "deviceDescp"><p>' + devices[i].description + '</p><div class = "availableAnchor" id = "' + (i+1) + '"></div></div></div><br><br>';
}
document.getElementById('devContainer').innerHTML = html;
var unavailable = getUnavailableItems();
Expand Down

0 comments on commit 44bb506

Please sign in to comment.