]> cat aescling's git repositories - mastodon.git/commitdiff
Rename emoji sheet to avoid caching issue (#7777)
authorRenato "Lond" Cerqueira <renato@lond.com.br>
Sun, 10 Jun 2018 14:12:47 +0000 (16:12 +0200)
committerEugen Rochko <eugen@zeonfederated.com>
Sun, 10 Jun 2018 14:12:47 +0000 (16:12 +0200)
app/javascript/mastodon/features/compose/components/emoji_picker_dropdown.js
config/webpack/production.js
public/emoji/sheet_10.png [moved from public/emoji/sheet.png with 100% similarity]

index 84665a7e8029936a80cb143e14587b91a215213c..4fc32db8a4d5debd12de66c6fead3b2a9473ff9f 100644 (file)
@@ -28,7 +28,7 @@ const messages = defineMessages({
 const assetHost = process.env.CDN_HOST || '';
 let EmojiPicker, Emoji; // load asynchronously
 
-const backgroundImageFn = () => `${assetHost}/emoji/sheet.png`;
+const backgroundImageFn = () => `${assetHost}/emoji/sheet_10.png`;
 const listenerOptions = detectPassiveEvents.hasSupport ? { passive: true } : false;
 
 const categoriesSort = [
index 1469a948f2838909a964f6bde1c3f53b09650c15..037a76a59206ee2d26706fcb5d842a2119483cbb 100644 (file)
@@ -92,7 +92,7 @@ module.exports = merge(sharedConfig, {
       },
       externals: [
         '/emoji/1f602.svg', // used for emoji picker dropdown
-        '/emoji/sheet.png', // used in emoji-mart
+        '/emoji/sheet_10.png', // used in emoji-mart
       ],
       excludes: [
         '**/*.gz',