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(core) {
var uikit;
@ -45,7 +45,7 @@
var UI = {}, _UI = window.UIkit || undefined;
UI.version = '2.27.4';
UI.version = '2.27.5';
UI.noConflict = function() {
// restore UIkit version
@ -2658,8 +2658,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);
@ -3258,7 +3262,9 @@
var target = UI.$(e.target);
if (!e.type.match(/swipe/)) {
if (e.type.match(/swipe/)) {
if (target.parents('.uk-offcanvas-bar:first').length) return;
} else {
if (!target.hasClass('uk-offcanvas-close')) {
if (target.hasClass('uk-offcanvas-bar')) return;