user_profile_modal: Move SimpleBar back to the correct div.

Fixes a regression in commit 01613e71fb
(#12348).

Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
Anders Kaseorg 2019-05-20 19:25:21 -07:00 committed by Tim Abbott
parent d267884cc1
commit 2f43284dd8
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
<div id="user-profile-modal" class="modal modal-bg fade{{#unless profile_data.length}} no-fields{{/unless}}" data-simplebar tabindex="-1" <div id="user-profile-modal" class="modal modal-bg fade{{#unless profile_data.length}} no-fields{{/unless}}" tabindex="-1"
role="dialog" aria-labelledby="user_profile_modal label" aria-hidden="true"> role="dialog" aria-labelledby="user_profile_modal label" aria-hidden="true">
<div class="modal-body" id="body"> <div class="modal-body" id="body" data-simplebar>
<button type="button" class="close" data-dismiss="modal" aria-label="{{t 'Close' }}"> <button type="button" class="close" data-dismiss="modal" aria-label="{{t 'Close' }}">
<span aria-hidden="true" id="exit-sign">&times;</span> <span aria-hidden="true" id="exit-sign">&times;</span>
</button> </button>