summaryrefslogtreecommitdiffstats
path: root/web/react/components/channel_loader.jsx
diff options
context:
space:
mode:
authorAsaad Mahmood <Unknowngi@live.com>2015-10-12 19:22:05 +0500
committerAsaad Mahmood <Unknowngi@live.com>2015-10-12 19:22:05 +0500
commitfd4bfee6ea393b6b707919b5da805a6a46e72d1a (patch)
treee2a0c98498700445c5ae918a5b5ff11ef9920fdd /web/react/components/channel_loader.jsx
parentf7e624d582b1c409876557e84c94fcf92e37f2bd (diff)
downloadchat-fd4bfee6ea393b6b707919b5da805a6a46e72d1a.tar.gz
chat-fd4bfee6ea393b6b707919b5da805a6a46e72d1a.tar.bz2
chat-fd4bfee6ea393b6b707919b5da805a6a46e72d1a.zip
Multiple UI Improvements
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')) {