Browse Source

fix: remove useless code

Gerald 8 years ago
parent
commit
98e0ced503
2 changed files with 3 additions and 13 deletions
  1. 0 11
      src/options/style.css
  2. 3 2
      src/options/views/tab-settings/vm-export.vue

+ 0 - 11
src/options/style.css

@@ -318,17 +318,6 @@ code {
 }
 .edit {
   background: #eee;
-  z-index: 10;
-  .dropdown-menu {
-    width: 32rem;
-    > table {
-      width: 100%;
-    }
-    td:not(.expand) {
-      width: 1px;
-      white-space: nowrap;
-    }
-  }
 }
 .feature {
   &-text {

+ 3 - 2
src/options/views/tab-settings/vm-export.vue

@@ -5,7 +5,8 @@
       <div class="ellipsis" v-for="item in items"
         :class="{active: item.active}"
         @click="item.active = !item.active"
-        v-text="item.script.custom.name || item.script.meta.name"></div>
+        v-text="item.script.custom.name || item.script.meta.name">
+      </div>
     </div>
     <button v-text="i18n('buttonAllNone')" @click="toggleSelection()"></button>
     <button v-text="i18n('buttonExportData')" @click="exportData" :disabled="exporting"></button>
@@ -92,7 +93,7 @@ function download(blob) {
   // https://bugzilla.mozilla.org/show_bug.cgi?id=1331176
   const url = URL.createObjectURL(blob);
   const a = document.createElement('a');
-  a.style = 'display: none';
+  a.style.display = 'none';
   document.body.appendChild(a);
   a.href = url;
   a.download = 'scripts.zip';