fix text order on reader page

This commit is contained in:
wareya committed 2017-12-12 18:56:31 -05:00
1 parent 41cc30b9f1
commit f9684b9f9a
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ html
</head> </head>
<body lang="ja"> <body lang="ja">
<p id="helptext"><i>This page grabs from the clipboard automatically if it contains Japanese text. If this page is not opened, Nazeka will never access the clipboard.</i></p> <p><i>This page grabs from the clipboard automatically if it contains Japanese text. If this page is not opened, Nazeka will never access the clipboard.</i></p>
<p><i>Use the context menu (right click the page) to toggle Nazeka.</i></p> <p><i>Use the context menu (right click the page) to toggle Nazeka.</i></p>
<div style="position:absolute;visibility:hidden"><textarea id="nazeka-paste-target"></textarea></div> <div style="position:absolute;visibility:hidden"><textarea id="nazeka-paste-target"></textarea></div>
</body> </body>
+1 -1
View File
@@ -27,7 +27,7 @@ function update(text)
let newnode = document.createElement("p"); let newnode = document.createElement("p");
newnode.textContent = text; newnode.textContent = text;
target.insertBefore(newnode, document.querySelector("#helptext")); target.insertBefore(newnode, document.body.firstChild);
} }
let text_previous = ""; let text_previous = "";