瀏覽代碼

Get rid of the help icons, since they have labels now

tags/v0.1.0
Fen Dweller 5 年之前
父節點
當前提交
60ca86edd7
共有 2 個文件被更改,包括 0 次插入17 次删除
  1. +0
    -4
      macrovision.html
  2. +0
    -13
      macrovision.js

+ 0
- 4
macrovision.html 查看文件

@@ -32,10 +32,6 @@

<body class="toggle-bottom-name toggle-top-name toggle-scale">
<div id="help">
<h1>Menu</h1>
<div id="help-icons">

</div>
<h1>Navigation</h1>
<p>
<ul>


+ 0
- 13
macrovision.js 查看文件

@@ -1171,7 +1171,6 @@ function handleResize() {
function prepareMenu() {

const menubar = document.querySelector("#popout-menu");
const help = document.querySelector("#help-icons");

[
[
@@ -1257,18 +1256,6 @@ function prepareMenu() {
buttonHolder.appendChild(button);
buttonHolder.appendChild(actionText);
span.appendChild(buttonHolder);

const helperEntry = document.createElement("div");
const helperIcon = document.createElement("icon");
const helperText = document.createElement("span");

helperIcon.classList.add(...entry.icon.split(" "));
helperText.innerText = entry.name;
helperEntry.appendChild(helperIcon);
helperEntry.appendChild(helperText);

help.appendChild(helperEntry);
});

menubar.appendChild(span);


Loading…
取消
儲存