1
0
mirror of https://github.com/twitter/twemoji.git synced 2024-10-01 12:24:23 +00:00

fixed SVG preview

This commit is contained in:
Andrea Giammarchi 2016-03-01 08:33:00 +00:00
parent 3457dce79b
commit 93e0461b16
2 changed files with 2 additions and 2 deletions

View File

@ -1692,7 +1692,7 @@
<li>&#xE50A;</li>
</ul>
<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 copyToClipboard(e) {
prompt('Copy to clipboard via ' + metaKey + '+C and Enter', this.alt);

View File

@ -35,7 +35,7 @@ fs.readdir(file('assets'), function (err, files) {
page.replace(
'{{emoji-options}}',
JSON.stringify({
folder: 'svg',
folder: '../svg',
ext: '.svg',
base: ''
})