Skip to content

Commit

Permalink
Update seller.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Salmandabbakuti authored Aug 11, 2019
1 parent 3f52164 commit 0326e43
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Seller/seller.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
function log(message) {
$('#log').append($('<p>').text(message));
$('#log').scrollTop($('#log').prop('scrollHeight'));
}
document.getElementById("log").innerHTML=message;
console.log(message);
}
function error(message) {
$('#log').append($('<p>').addClass('dark-red').text(message));
$('#log').scrollTop($('#log').prop('scrollHeight'));
Expand Down

0 comments on commit 0326e43

Please sign in to comment.