|
|
@ -46,9 +46,9 @@ $(document).ready(function() {
|
|
|
|
else
|
|
|
|
else
|
|
|
|
newElement += eventHistory[i].name;
|
|
|
|
newElement += eventHistory[i].name;
|
|
|
|
if (eventHistory[i].action == "fridge")
|
|
|
|
if (eventHistory[i].action == "fridge")
|
|
|
|
newElement += ' <i class="fa fa-snowflake-o"></i>';
|
|
|
|
newElement += ' <i class="fa fa-snowflake-o"></i>';
|
|
|
|
else if (eventHistory[i].action == "tools")
|
|
|
|
else if (eventHistory[i].action == "tools")
|
|
|
|
newElement += ' <i class="fa fa-wrench"></i>';
|
|
|
|
newElement += ' <i class="fa fa-wrench"></i>';
|
|
|
|
newElement += '</div>\
|
|
|
|
newElement += '</div>\
|
|
|
|
</div>';
|
|
|
|
</div>';
|
|
|
|
newHistory += newElement;
|
|
|
|
newHistory += newElement;
|
|
|
@ -132,4 +132,4 @@ $(document).ready(function() {
|
|
|
|
newHistory += '</div>';
|
|
|
|
newHistory += '</div>';
|
|
|
|
$('.event-wrapper').replaceWith(newHistory);
|
|
|
|
$('.event-wrapper').replaceWith(newHistory);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
})
|
|
|
|
})
|
|
|
|