We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a8209a commit 4ca92d1Copy full SHA for 4ca92d1
assets/js/dialog-js.js
@@ -1,11 +1,11 @@
1
- (function() {
+ (function() {
2
var dlgtrigger = document.querySelector('[data-dialog]'),
3
somedialog = document.getElementById(dlgtrigger.getAttribute('data-dialog')),
4
dlg = new DialogFx(somedialog);
5
6
dlgtrigger.addEventListener('click', dlg.toggle.bind(dlg));
7
8
- })();
+ });
9
10
(function() {
11
var dlgtrigger = document.querySelector('[data-dialog1]'),
@@ -14,7 +14,7 @@
14
15
16
17
18
19
20
var dlgtrigger = document.querySelector('[data-dialog2]'),
@@ -23,4 +23,4 @@
23
24
25
26
0 commit comments