Skip to content

Commit 0f7d76f

Browse files
committed
Changes a get call to getText for attach_textarea.
Seems it needs to use getText. JSON api provides get Text api doesn't
1 parent 731c017 commit 0f7d76f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/client/textarea.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ applyChange = (doc, oldval, newval) ->
1818

1919
window.sharejs.extendDoc 'attach_textarea', (elem) ->
2020
doc = this
21-
elem.value = @get()
21+
elem.value = @getText()
2222
prevvalue = elem.value
2323

2424
replaceText = (newText, transformCursor) ->

webclient/textarea.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)