@@ -24,6 +24,6 @@ define [
clearHighlights: () ->
for h in @highlightElements
- h.remove()
+ h?.remove()
@highlightElements = []
]