Skip to content

Commit

Permalink
Use empty function instead of empty text
Browse files Browse the repository at this point in the history
  • Loading branch information
MediaMarco committed Jun 19, 2018
1 parent 322a9cd commit 9b26ebe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function getLog(logIndex) {

while (logIndex <= newLogIndex) {
if (logIndex === 0) {
logWindow.text("");
logWindow.empty();
}
logWindow.append("<div>" + data.messages[logIndex] + "</div>");
logIndex++;
Expand Down

0 comments on commit 9b26ebe

Please sign in to comment.