Merge pull request #117 from Mikunj/QoL-fixes

Minor fixes
pull/121/head
sachaaaaa 6 years ago committed by GitHub
commit e1fad6505e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -176,7 +176,7 @@ module.exports = grunt => {
tasks: ['sass'],
},
transpile: {
files: ['./ts/**/*.ts'],
files: ['./ts/**/*.ts','./ts/**/*.tsx'],
tasks: ['exec:transpile'],
},
},

@ -1520,7 +1520,7 @@
const colons = `:${emojiData[e.index].short_name}:`;
const textarea = this.$messageField[0];
if (textarea.selectionStart || textarea.selectionStart === '0') {
if (textarea.selectionStart || textarea.selectionStart === 0) {
const startPos = textarea.selectionStart;
const endPos = textarea.selectionEnd;

Loading…
Cancel
Save