Update GoogleTranslateOption.plugin.js

This commit is contained in:
Mirco Wittrien 2019-01-03 21:48:50 +01:00
parent 89ca4fd62e
commit 4a7ff38196
1 changed files with 1 additions and 0 deletions

View File

@ -576,6 +576,7 @@ class GoogleTranslateOption {
let textarea = wrapper.querySelector("textarea");
if (textarea) {
var buttoncontainer = wrapper.querySelector(BDFDB.dotCN.textareapickerbuttons);
if (!buttoncontainer) return;
var button = $(this.translateButtonMarkup)[0];
$(button)
.on("click." + this.getName(), () => {