Permalink
Browse files

No more blank command list items.

  • Loading branch information...
1 parent d21980f commit 355aebb6cde50b04230289bca15bb7b8173e0a5c @georgebrock georgebrock committed Dec 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/demo.js
View
@@ -11,7 +11,7 @@
Vimulator.Base.prototype.render.apply(vim);
}, this.delay);
- if (op) {
+ if (op && op.description()) {
li = this.commandList.find("li:first");
if (li.length === 0 || li.hasClass("complete")) {
li = $("<li></li>").prependTo(this.commandList);

0 comments on commit 355aebb

Please sign in to comment.