diff options
author | Matthew Hodgson <matthew@matrix.org> | 2014-08-14 02:13:14 +0100 |
---|---|---|
committer | Matthew Hodgson <matthew@matrix.org> | 2014-08-14 02:14:15 +0100 |
commit | 6c2db18be150eb6410f1e3a148057b81dcae8093 (patch) | |
tree | 02ab28453fa635ddb77e7c72989827bb6fabe04e /webclient/app.js | |
parent | fix whitespace (diff) | |
download | synapse-6c2db18be150eb6410f1e3a148057b81dcae8093.tar.xz |
completely change the CSS to be an entirely 'position: absolute' layout rather than top-to-bottom. makes the overscroll much more predictable and sane and not dependent on CSS expressions.
Diffstat (limited to 'webclient/app.js')
-rw-r--r-- | webclient/app.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/webclient/app.js b/webclient/app.js index 2133a98cbf..651aeeaa77 100644 --- a/webclient/app.js +++ b/webclient/app.js @@ -70,4 +70,9 @@ matrixWebClient $timeout(function() { element[0].focus() }, 0); } }; - }]); + }]) + .filter('to_trusted', ['$sce', function($sce){ + return function(text) { + return $sce.trustAsHtml(text); + }; + }]); \ No newline at end of file |