Skip to content

Commit f73620a

Browse files
authored
Merge pull request ichord#420 from markdon/view.visible-performance-fix
View.visible performance fix
2 parents fe47ea0 + 1386654 commit f73620a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/view.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class View
4444
#
4545
# @return [Boolean]
4646
visible: ->
47-
@$el.is(":visible")
47+
$.expr.filters.visible(@$el[0])
4848

4949
highlighted: ->
5050
@$el.find(".cur").length > 0

0 commit comments

Comments
 (0)