discourse/app/assets/javascripts
Sam Saffron 0d757814e5 FIX: correctly account for onebox height when lazy loading images
Page used to jitter when oneboxes loaded images lazily.

Previously we inserted the the "shadow" loading image before the "real" image.

This meant that certain styling with `firstChild` CSS selectors would apply
incorrectly to the shadow image.

Additionally we had special case code for onebox and quoted images that was
not really needed due to this fix.

We had an old fix that used computed style for image height and width in
specific scenarios, we now run it all the time.

On slow devices there was a possibility that the cache fetch after amending
src at the end of the process would cause a flash, this is avoided using a
new onload handler.
2020-01-03 15:15:42 +11:00
..
admin FEATURE: Hash API keys in the database (#8438) 2019-12-12 11:45:00 +00:00
admin-login REFACTOR: use const rather than var 2019-10-03 11:45:03 -07:00
discourse FIX: correctly account for onebox height when lazy loading images 2020-01-03 15:15:42 +11:00
discourse-common DEV: Use FA5 name for moved post icon 2019-12-20 09:50:05 -05:00
docs
ember-addons DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
locales DEV: Import ember ENV instead of Ember.testing (#8305) 2019-11-07 11:20:35 -06:00
pretty-text DEV: Extend plugin API for uploads (#8440) 2019-12-09 16:20:03 +02:00
select-kit Revert "FIX: prevents focus of input on mobile (#6251)" 2019-12-12 11:17:40 -05:00
wizard DEV: Remove all instances of Ember.computed (#8324) 2019-11-08 12:28:11 -06:00
activate-account.js.no-module.es6
admin.js.erb
application.js REFACTOR: Remove InputValidation which was simply an Ember.Object 2019-11-11 15:48:56 -05:00
auto-redirect.js.no-module.es6
deprecated.js
discourse-loader.js FIX: Remove uneeded from discourse loader (#8390) 2019-11-21 11:46:27 -06:00
discourse-objects.js
discourse.js.es6 FIX: Failing tests 2019-11-13 15:34:30 -05:00
embed-application.js.no-module.es6 FEATURE: Embed topics list on remote sites via Javascript API. (#8008) 2019-08-15 13:41:06 -04:00
ember_include.js.erb
ember_jquery.js
ember-shim.js
env.js
google-tag-manager.js.no-module.es6
google-universal-analytics.js.no-module.es6
main_include_admin.js
markdown-it-bundle.js REFACTOR: Attach resize controls to images from the markdown pipeline (#8314) 2019-11-12 17:32:37 -03:00
onpopstate-handler.js.no-module.es6
polyfills.js FEATURE: Create IE Support Plugin (#8520) 2019-12-11 09:07:22 -05:00
preload-application-data.js.no-module.es6 REFACTOR: Remove Discourse.Session constants 2019-11-08 13:46:50 -05:00
preload-store.js.es6 FIX: More Promise uses that were not imported 2019-11-19 15:58:40 -05:00
pretty-text-bundle.js DEV: Remove pretty_text import hack & still work server-side (#8266) 2019-10-31 11:54:46 -05:00
print-page.js
service-worker.js.erb DEV: Bump uglifyjs (#7834) 2019-10-09 10:02:49 -03:00
set-prototype-polyfill.js
template_include.js DEV: Remove unsafe-eval from development CSP (#8569) 2019-12-30 12:17:12 +00:00
template_include.js.erb DEV: Remove unsafe-eval from development CSP (#8569) 2019-12-30 12:17:12 +00:00
vendor.js DEV: Remove HTML parser from Tautologistics. (#7344) 2019-04-10 11:21:22 +02:00
wizard-application.js DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
wizard-start.js.no-module.es6
wizard-vendor.js