Skip to content

Commit ad4ca92

Browse files
committed
Amended printInfo method.
1 parent e679087 commit ad4ca92

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

drawings/simple_graph.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -289,9 +289,7 @@ Drawing.SimpleGraph = function(options) {
289289
}
290290
str += info_text[index];
291291
}
292-
if(str != '') {
293-
document.getElementById("graph-info").innerHTML = str;
294-
}
292+
document.getElementById("graph-info").innerHTML = str;
295293
}
296294

297295
function drawText(draw_object, text) {

0 commit comments

Comments
 (0)