match #iso-download with query strings

This commit is contained in:
bigeagle 2016-11-21 22:57:38 +08:00
parent 44cffb638f
commit a8bad3ffda

View File

@ -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();
}
});