From 5641c9e8ffa33f67ec131103a5c2ae75c95d6abb Mon Sep 17 00:00:00 2001 From: codeskyblue Date: Mon, 1 Aug 2016 16:37:30 +0800 Subject: [PATCH] show qrcode for all file --- res/index.tmpl.html | 5 ++--- res/js/index.js | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/res/index.tmpl.html b/res/index.tmpl.html index cccb1df..a81cb6f 100644 --- a/res/index.tmpl.html +++ b/res/index.tmpl.html @@ -100,9 +100,8 @@ - diff --git a/res/js/index.js b/res/js/index.js index 373c492..a1c0b04 100644 --- a/res/js/index.js +++ b/res/js/index.js @@ -107,7 +107,7 @@ var vm = new Vue({ $("#qrcode-modal").modal("show"); }, shouldHaveQrcode: function(name) { - return ['apk', 'ipa', 'htm', 'html'].indexOf(getExtention(name)) !== -1; + return ['apk', 'ipa'].indexOf(getExtention(name)) !== -1; }, genFileClass: function(f) { if (f.type == "dir") {