diff --git a/simple-translate/simple-translate.js b/simple-translate/simple-translate.js index f5773d3..b43a38d 100644 --- a/simple-translate/simple-translate.js +++ b/simple-translate/simple-translate.js @@ -3,7 +3,7 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -document.body.insertAdjacentHTML("beforeend", "

...

"); //body末尾にボタン配置 +document.body.insertAdjacentHTML("afterend", "

...

"); //bodyの直後にボタン配置 var button = document.getElementById("simple-translate-button"); var panel = document.getElementById("simple-translate-panel"); var selectionWord;