diff options
author | erdgeist <erdgeist@bauklotz.fritz.box> | 2016-08-07 02:17:47 +0200 |
---|---|---|
committer | erdgeist <erdgeist@bauklotz.fritz.box> | 2016-08-07 02:17:47 +0200 |
commit | 2653f6a943a6ed74e2b72246ba8211c5fb699a7f (patch) | |
tree | 1583823bf875456212156452ba464933139c3ceb /js/core/alert.min.js | |
parent | d850c105940f414caf44705191af8c8b19ca9c85 (diff) |
restructured ;)
Diffstat (limited to 'js/core/alert.min.js')
-rwxr-xr-x | js/core/alert.min.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/js/core/alert.min.js b/js/core/alert.min.js deleted file mode 100755 index 501b85d..0000000 --- a/js/core/alert.min.js +++ /dev/null | |||
@@ -1,2 +0,0 @@ | |||
1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
2 | !function(t){"use strict";t.component("alert",{defaults:{fade:!0,duration:200,trigger:".uk-alert-close"},boot:function(){t.$html.on("click.alert.uikit","[data-uk-alert]",function(i){var o=t.$(this);if(!o.data("alert")){var e=t.alert(o,t.Utils.options(o.attr("data-uk-alert")));t.$(i.target).is(e.options.trigger)&&(i.preventDefault(),e.close())}})},init:function(){var t=this;this.on("click",this.options.trigger,function(i){i.preventDefault(),t.close()})},close:function(){var t=this.trigger("close.uk.alert"),i=function(){this.trigger("closed.uk.alert").remove()}.bind(this);this.options.fade?t.css("overflow","hidden").css("max-height",t.height()).animate({height:0,opacity:0,"padding-top":0,"padding-bottom":0,"margin-top":0,"margin-bottom":0},this.options.duration,i):i()}})}(UIkit); \ No newline at end of file | ||