mirror of
https://github.com/twitter/twemoji.git
synced 2024-06-15 03:35:16 +00:00
fixed SVG preview
This commit is contained in:
parent
3457dce79b
commit
93e0461b16
@ -1692,7 +1692,7 @@
|
|||||||
<li></li>
|
<li></li>
|
||||||
</ul>
|
</ul>
|
||||||
<script>
|
<script>
|
||||||
twemoji.parse(document.getElementsByTagName('ul')[0], {"folder":"svg","ext":".svg","base":""});
|
twemoji.parse(document.getElementsByTagName('ul')[0], {"folder":"../svg","ext":".svg","base":""});
|
||||||
(function (img, metaKey, i) {
|
(function (img, metaKey, i) {
|
||||||
function copyToClipboard(e) {
|
function copyToClipboard(e) {
|
||||||
prompt('Copy to clipboard via ' + metaKey + '+C and Enter', this.alt);
|
prompt('Copy to clipboard via ' + metaKey + '+C and Enter', this.alt);
|
||||||
|
@ -35,7 +35,7 @@ fs.readdir(file('assets'), function (err, files) {
|
|||||||
page.replace(
|
page.replace(
|
||||||
'{{emoji-options}}',
|
'{{emoji-options}}',
|
||||||
JSON.stringify({
|
JSON.stringify({
|
||||||
folder: 'svg',
|
folder: '../svg',
|
||||||
ext: '.svg',
|
ext: '.svg',
|
||||||
base: ''
|
base: ''
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user