firefox dom_root issue
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -281,7 +281,10 @@ module.exports = (HB)->
|
|||||||
# yatta.bind(textbox);
|
# yatta.bind(textbox);
|
||||||
#
|
#
|
||||||
bind: (textfield, dom_root)->
|
bind: (textfield, dom_root)->
|
||||||
dom_root ?= window;
|
dom_root ?= window
|
||||||
|
if (not dom_root.getSelection?)
|
||||||
|
dom_root = window
|
||||||
|
|
||||||
# don't duplicate!
|
# don't duplicate!
|
||||||
for t in @textfields
|
for t in @textfields
|
||||||
if t is textfield
|
if t is textfield
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user