Revert "Make $::view return __spacePenView from the first element if present"

This reverts commit edaf1e2ced.
This commit is contained in:
Nathan Sobo
2014-09-25 20:45:18 -06:00
parent 0afe2a55e9
commit 06e0919597

View File

@@ -59,9 +59,6 @@ jQuery.fn.destroyTooltip = ->
requireBootstrapTooltip()
@tooltip('destroy')
jQuery.fn.view = ->
@[0]?.__spacePenView ? @data('view')
# Hide tooltips when window is resized
jQuery(document.body).on 'show.bs.tooltip', ({target}) ->
windowHandler = -> jQuery(target).hideTooltip()