Updated the UIKIT versions

This commit is contained in:
2019-04-22 15:31:39 +02:00
parent 44451f1017
commit 7902537b43
438 changed files with 3883 additions and 3261 deletions

View File

@ -1,4 +1,4 @@
/*! UIkit 2.27.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
/*! UIkit 2.27.5 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
(function(UI) {
"use strict";
@ -42,8 +42,12 @@
this.element.attr('aria-hidden', this.element.hasClass('uk-open'));
this.on('click', '.uk-modal-close', function(e) {
e.preventDefault();
$this.hide();
var modal = UI.$(e.target).closest('.uk-modal');
if (modal[0] === $this.element[0]) $this.hide();
}).on('click', function(e) {
var target = UI.$(e.target);