compact mobile keyboard

This commit is contained in:
Devaev Maxim
2018-09-02 20:08:35 +03:00
parent ecb866f57a
commit 3f40aefafe
5 changed files with 298 additions and 149 deletions

View File

@@ -48,7 +48,7 @@ function Hid() {
$("pak-button").title = $("pak-led").title = "Your browser does not support the Clipboard API.\nUse Google Chrome or Chromium.";
}
Array.prototype.forEach.call($$("shortcut"), function(el_shortcut) {
Array.prototype.forEach.call(document.querySelectorAll("[data-shortcut]"), function(el_shortcut) {
el_shortcut.onclick = () => __emitShortcut(el_shortcut.getAttribute("data-shortcut").split(" "));
});
};