forked from GithubBackups/vichan
Merge pull request #915 from Zankaria/ios-triangle-bug
post-menu.js: use unicode code with variant selector for equilateral …
This commit is contained in:
commit
fe301f9b9e
@ -104,8 +104,10 @@ function buildMenu(e) {
|
|||||||
|
|
||||||
function addButton(post) {
|
function addButton(post) {
|
||||||
var $ele = $(post);
|
var $ele = $(post);
|
||||||
|
// Use unicode code with ascii variant selector
|
||||||
|
// https://stackoverflow.com/questions/37906969/how-to-prevent-ios-from-converting-ascii-into-emoji
|
||||||
$ele.find('input.delete').after(
|
$ele.find('input.delete').after(
|
||||||
$('<a>', {href: '#', class: 'post-btn', title: 'Post menu'}).text('▶')
|
$('<a>', {href: '#', class: 'post-btn', title: 'Post menu'}).text('\u{25B6}\u{fe0e}')
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user