mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 01:32:23 +08:00
bb127b8140
We were counting all the oneboxes in the DOM instead of just the ones in the preview. Also refactored the logic to count up to 'max_oneboxes_per_post` instead of down to 0. That also ensured we don't load 11 oneboxes when the setting is limiting to 10. |
||
---|---|---|
.. | ||
images | ||
javascripts | ||
stylesheets |