hardlounge/client/js
Jérémie Astori a13c08a45b
Enforce correct order for previews on server-side prefectch rather than at client parsing
This has the benefit of not adding `.preview` divs everywhere, anytime we use `parse()`, and also to un-tie the position of the preview blocks from the result of the helper. This means that templates that call `parse` and have some extra markup after that are not constrained anymore.

This is effectively an alternative, better way to fix https://github.com/thelounge/lounge/issues/1343, but the initial fix that was put in place (https://github.com/thelounge/lounge/pull/1347) is still relevant, for example to make sure a preview stays hidden (and does not add extra margin/padding/etc.) if the link does not prefetch.
2017-07-21 01:06:42 -04:00
..
libs Enforce correct order for previews on server-side prefectch rather than at client parsing 2017-07-21 01:06:42 -04:00
socket-events Support multiple previews per message 2017-07-08 04:34:12 -04:00
constants.js Add collapse/expand commands to toggle all previews 2017-07-07 00:18:37 -04:00
loading-slow-alert.js Add "reload page" button when Lounge fails to start. 2017-06-10 20:15:32 +03:00
localStorage.js Create options module 2017-04-24 09:06:01 +01:00
lounge.js Merge pull request #1334 from MaxLeiter/MaxLeiter/emoji 2017-07-20 01:20:57 -04:00
options.js Allow opting out of autocomplete 2017-07-03 22:37:38 +05:30
render.js Fix previews in actions ("/me") after page reload 2017-07-18 01:27:18 -04:00
renderPreview.js Add an image viewer for thumbnails and image previews 2017-07-16 19:25:48 -04:00
socket.js Correctly configure client transports 2017-06-01 22:43:23 +03:00
sorting.js Add modules for socket events 2017-06-20 07:22:58 +01:00
utils.js Add modules for socket events 2017-06-20 07:22:58 +01:00