Merge pull request #4890 from svbergerem/fix-bootstrap-publisher-ui-glitch
Fix ui glitch in Bootstrap publisher
This commit is contained in:
commit
3e68aaaa3b
1 changed files with 4 additions and 3 deletions
|
|
@ -9,8 +9,9 @@
|
|||
*
|
||||
* Modifcations for Diaspora:
|
||||
*
|
||||
* Prevent replacing the wrong text by marking the replacement position with a special character
|
||||
* Don't add a space after inserting a mention
|
||||
* Prevent replacing the wrong text by marking the replacement position with a special character
|
||||
* Don't add a space after inserting a mention
|
||||
* Only use the first div as a wrapperBox
|
||||
*/
|
||||
|
||||
(function ($, _, undefined) {
|
||||
|
|
@ -88,7 +89,7 @@
|
|||
elmInputWrapper = elmInputBox.parent();
|
||||
elmWrapperBox = $(settings.templates.wrapper());
|
||||
elmInputBox.wrapAll(elmWrapperBox);
|
||||
elmWrapperBox = elmInputWrapper.find('> div');
|
||||
elmWrapperBox = elmInputWrapper.find('> div').first();
|
||||
|
||||
elmInputBox.attr('data-mentions-input', 'true');
|
||||
elmInputBox.bind('keydown', onInputBoxKeyDown);
|
||||
|
|
|
|||
Loading…
Reference in a new issue