summaryrefslogtreecommitdiffstats
path: root/web/react/components/channel_loader.jsx
diff options
context:
space:
mode:
authorAsaad Mahmood <Unknowngi@live.com>2015-10-12 23:36:24 +0500
committerAsaad Mahmood <Unknowngi@live.com>2015-10-12 23:36:24 +0500
commit893a72141bcab38c8a5a10ec920c9480120d6b51 (patch)
tree58a63db7918abd24f3a5839da39568ac54b2c9c5 /web/react/components/channel_loader.jsx
parent7bb8f5d1ef47e02c4f1784656f6abcff409b96d5 (diff)
parent246d934e5e557555645a1d26ae005be452ecbd2d (diff)
downloadchat-893a72141bcab38c8a5a10ec920c9480120d6b51.tar.gz
chat-893a72141bcab38c8a5a10ec920c9480120d6b51.tar.bz2
chat-893a72141bcab38c8a5a10ec920c9480120d6b51.zip
Merge branch 'master' of https://github.com/mattermost/platform into ui-fixes
Diffstat (limited to 'web/react/components/channel_loader.jsx')
-rw-r--r--web/react/components/channel_loader.jsx6
1 files changed, 0 insertions, 6 deletions
diff --git a/web/react/components/channel_loader.jsx b/web/react/components/channel_loader.jsx
index d16069725..d0d6ab5e2 100644
--- a/web/react/components/channel_loader.jsx
+++ b/web/react/components/channel_loader.jsx
@@ -104,12 +104,6 @@ export default class ChannelLoader extends React.Component {
}
});
- /* Setup modal events */
- $('.modal').on('show.bs.modal', function onShow() {
- $('.modal-body').css('overflow-y', 'auto');
- $('.modal-body').css('max-height', $(window).height() * 0.7);
- });
-
/* Prevent backspace from navigating back a page */
$(window).on('keydown.preventBackspace', (e) => {
if (e.which === 8 && !$(e.target).is('input, textarea')) {