mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 11:12:23 +08:00
8a68f49adb
Prior to v89, Firefox has bugs with document.execCommand("insertText"): https://bugzil.la/1220696 This commit introduces some variables to browser-detect, and therefore wraps the entire logic in an IIFE to avoid state leaking. (`let`/`const` are not supported on older browsers) |
||
---|---|---|
.. | ||
images | ||
javascripts | ||
stylesheets |