We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3db911e commit e422ed1Copy full SHA for e422ed1
src/popup/popup.js
@@ -6,14 +6,13 @@ document.addEventListener('DOMContentLoaded', () => {
6
ev.preventDefault();
7
const policyFileUrl = new FormData(policyFileForm).get('policyFile')
8
loadPolicy(policyFileUrl)
9
+ .then(e => {
10
+ var animateIn = document.getElementById("notification");
11
+ animateIn.className = "show";
12
+ setTimeout(function(){
13
+ animateIn.className = animateIn.className.replace("show", "");
14
+ }, 3000);
15
+ e.preventDefault();
16
+ })
17
})
18
-
-// $("#policyFileForm").submit(function(e) {
-// var animateIn = document.getElementById("notification");
-// animateIn.className = "show";
-// setTimeout(function(){
-// animateIn.className = animateIn.className.replace("show", "");
-// }, 3000);
-// e.preventDefault();
19
-// });
0 commit comments