Browse code
tweaks
fiddlerwoaroof authored on 07/07/2015 02:47:48
Showing 1 changed files
Showing 1 changed files
... | ... |
@@ -30,7 +30,7 @@ |
30 | 30 |
}); |
31 | 31 |
} |
32 | 32 |
|
33 |
- this.myjQModal = { |
|
33 |
+ target.myjQModal = this.myjQModal = { |
|
34 | 34 |
target: target, |
35 | 35 |
action: action, |
36 | 36 |
modal: modal, |
... | ... |
@@ -55,6 +55,6 @@ |
55 | 55 |
return this; |
56 | 56 |
}; |
57 | 57 |
$(document).ready(function() { |
58 |
- $('button[data-action=open]').myjQModal(); |
|
58 |
+ $('button[data-type=modalTrigger]').myjQModal(); |
|
59 | 59 |
}); |
60 | 60 |
}( jQuery )); |