Fix emote injection

This commit is contained in:
Samuel Elliott 2018-03-24 16:06:34 +00:00
parent 6bb8c18857
commit ddfd0653ac
No known key found for this signature in database
GPG Key ID: 8420C7CDE43DC4D6
1 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ export default class {
* Creates a new Vue object and mounts it in the passed element.
* @param {HTMLElement} root The element to mount the new Vue object at
* @param {Object} options Options to pass to Vue
* @param {BdNode} bdnode The element to append to
* @param {BdNode} bdnode The element to append
* @return {Vue}
*/
static inject(root, options, bdnode) {
@ -24,7 +24,7 @@ export default class {
const vue = new Vue(options);
vue.$mount(bdnode || root);
vue.$mount(bdnode ? bdnode.element : root);
return vue;
}