Skip to content

Commit

Permalink
点击restart后隐藏button
Browse files Browse the repository at this point in the history
  • Loading branch information
llan committed Jan 16, 2017
1 parent e0dc32c commit 5814328
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ const block = function (params) {
restart.style.display = 'block';
restart.onclick = function (event) {
event.preventDefault();
restart.style.display = 'none';
let inactiveModels = [...document.querySelectorAll('.inactiveModel')];
if (inactiveModels.length > 0) {
for(let v of inactiveModels){
Expand Down

0 comments on commit 5814328

Please sign in to comment.