diff options
| author | Shpuld Shpludson <shp@cock.li> | 2019-04-01 19:57:31 +0000 |
|---|---|---|
| committer | Shpuld Shpludson <shp@cock.li> | 2019-04-01 19:57:31 +0000 |
| commit | ac28e8c2f981b6584f0103e10b0a5f5b025fcaae (patch) | |
| tree | a12eb0dff03ce7cbfcd6f5bd8027738662c9d973 /src/services/window_utils/window_utils.js | |
| parent | a595febcb86cfeda927128b8a36756db6457e58d (diff) | |
| parent | 89c944853253463b3a0173425b35f939ac503676 (diff) | |
Merge branch 'feature/mobile-improvements-3' into 'develop'
Mobile notifications in nav bar, separate mobile navbar to its own component
See merge request pleroma/pleroma-fe!703
Diffstat (limited to 'src/services/window_utils/window_utils.js')
| -rw-r--r-- | src/services/window_utils/window_utils.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/services/window_utils/window_utils.js b/src/services/window_utils/window_utils.js new file mode 100644 index 00000000..faff6cb9 --- /dev/null +++ b/src/services/window_utils/window_utils.js @@ -0,0 +1,5 @@ + +export const windowWidth = () => + window.innerWidth || + document.documentElement.clientWidth || + document.body.clientWidth |
