From a8bad3ffdadfc0c4bc33f0d68ef3eef06c6bee38 Mon Sep 17 00:00:00 2001 From: bigeagle Date: Mon, 21 Nov 2016 22:57:38 +0800 Subject: [PATCH] match #iso-download with query strings --- static/js/index.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/index.es6 b/static/js/index.es6 index 5c8447f..5ebf2f7 100644 --- a/static/js/index.es6 +++ b/static/js/index.es6 @@ -124,7 +124,7 @@ var vmIso = new Vue({ $.getJSON("/static/isoinfo.json", function (isoinfo) { self.distroList = isoinfo; self.selected = self.curDistroList[0]; - if (window.location.hash === '#iso-download') { + if (window.location.hash.match(/#iso-download(\?.*)?/)) { $('#isoModal').modal(); } });