Commit 459c0c83 authored by Randall Leeds's avatar Randall Leeds

Quick hack around IE bug

parent 5075f6be
...@@ -67,8 +67,8 @@ thread = [ ...@@ -67,8 +67,8 @@ thread = [
return return
# Ignore if the user just created a non-empty selection. # Ignore if the user just created a non-empty selection.
sel = $window.getSelection() sel = $window.getSelection() # XXX: Portable containsNode?
if sel.containsNode(event.target, true) and sel.toString().length if sel.containsNode?(event.target, true) and sel.toString().length
return return
# Ignore if the user clicked a link # Ignore if the user clicked a link
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment