Show More
@@ -33,7 +33,7 b" var form = $('#form');" | |||
|
33 | 33 | |
|
34 | 34 | $('#preview-button').click(function() { |
|
35 | 35 | var data = { |
|
36 | raw_text: $('textarea').val() | |
|
36 | raw_text: $('textarea#id_text').val() | |
|
37 | 37 | } |
|
38 | 38 | |
|
39 | 39 | var diffUrl = '/api/preview/'; |
@@ -112,7 +112,7 b' function selectFileChoice() {' | |||
|
112 | 112 | showAsErrors(form, gettext('Computing PoW...')); |
|
113 | 113 | $('.post-form-w').block({ message: gettext('Computing PoW...') }) |
|
114 | 114 | |
|
115 | var msg = $('textarea').val().trim(); | |
|
115 | var msg = $('textarea#id_text').val().trim(); | |
|
116 | 116 | |
|
117 | 117 | var data = { |
|
118 | 118 | msg: msg, |
General Comments 0
You need to be logged in to leave comments.
Login now