mirror of
https://github.com/tuna/mirror-web.git
synced 2025-12-25 20:32:46 +00:00
match #iso-download with query strings
This commit is contained in:
parent
44cffb638f
commit
a8bad3ffda
|
|
@ -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();
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue