diff --git a/src/assets/jquery-ui-tabs/core-uncompressed.js b/src/assets/jquery-ui-tabs/core-uncompressed.js index 2b1affb..284ff70 100644 --- a/src/assets/jquery-ui-tabs/core-uncompressed.js +++ b/src/assets/jquery-ui-tabs/core-uncompressed.js @@ -60,7 +60,6 @@ }).prependTo(nav); $('', { - class: 'link', html: label, }).appendTo(dropdown); $('').appendTo(dropdown); diff --git a/src/assets/jquery-ui-tabs/core.js b/src/assets/jquery-ui-tabs/core.js index b4274f7..b3b9455 100644 --- a/src/assets/jquery-ui-tabs/core.js +++ b/src/assets/jquery-ui-tabs/core.js @@ -1,2 +1,2 @@ /* jQuery UI Tabs Widget for Contao Open Source CMS, (c) 2015 - 2016 wangaz. GbR, CC BY-SA 4.0 */ -!function(e){e.widget("ui.tabs",e.ui.tabs,{_create:function(){this.element.find(".headline").addClass("invisible");var n=this.element.children("ul.nav");this.element.children("div.panel").each(function(){var i=e(this),t=e("
  • ").appendTo(n);e("",{href:window.location.pathname+"#"+i.attr("id"),text:i.children(".headline").eq(0).text()}).appendTo(t)}),n.removeClass("invisible"),this._super();var i=n.data("dropdown");if(void 0!==i){var t=.99*n.innerWidth(),a=n.children("li");if(a.each(function(n,i){t-=e(i).outerWidth(!0)}),!(t>0)){var o=e("
  • ",{"class":"dropdown"}).prependTo(n);e("",{"class":"link",html:i}).appendTo(o),e("").appendTo(o),t-=o.outerWidth(!0);for(var l=a.length-1;0>=t&&l>=0;l--){var d=a.eq(l);t+=d.outerWidth(!0),d.prependTo(o.children("ul").eq(0))}}}},_toggle:function(e,n){this._super(e,n);var i=n.newPanel.attr("id"),t=window.location.hash.replace("#",""),a=this._getIndex(i);t!=i&&(a>0||""!=t)&&history.pushState(null,null,window.location.pathname+"#"+i)},toggle:function(e){var n;n=""==e?0:this._getIndex(e),n>=0&&this.option("active",n)}}),e(document).ready(function(){var n=window.location.hash.replace("#","");n&&e("section.ce_tabs div#"+n).length&&setTimeout(function(){window.scrollTo(0,0)},1)}),e(window).on("hashchange",function(){var n=window.location.hash.replace("#","");e("section.ce_tabs").tabs("toggle",n)})}(jQuery); \ No newline at end of file +!function(e){e.widget("ui.tabs",e.ui.tabs,{_create:function(){this.element.find(".headline").addClass("invisible");var n=this.element.children("ul.nav");this.element.children("div.panel").each(function(){var i=e(this),t=e("
  • ").appendTo(n);e("",{href:window.location.pathname+"#"+i.attr("id"),text:i.children(".headline").eq(0).text()}).appendTo(t)}),n.removeClass("invisible"),this._super();var i=n.data("dropdown");if(void 0!==i){var t=.99*n.innerWidth(),a=n.children("li");if(a.each(function(n,i){t-=e(i).outerWidth(!0)}),!(t>0)){var o=e("
  • ",{"class":"dropdown"}).prependTo(n);e("",{html:i}).appendTo(o),e("").appendTo(o),t-=o.outerWidth(!0);for(var l=a.length-1;0>=t&&l>=0;l--){var d=a.eq(l);t+=d.outerWidth(!0),d.prependTo(o.children("ul").eq(0))}}}},_toggle:function(e,n){this._super(e,n);var i=n.newPanel.attr("id"),t=window.location.hash.replace("#",""),a=this._getIndex(i);t!=i&&(a>0||""!=t)&&history.pushState(null,null,window.location.pathname+"#"+i)},toggle:function(e){var n;n=""==e?0:this._getIndex(e),n>=0&&this.option("active",n)}}),e(document).ready(function(){var n=window.location.hash.replace("#","");n&&e("section.ce_tabs div#"+n).length&&setTimeout(function(){window.scrollTo(0,0)},1)}),e(window).on("hashchange",function(){var n=window.location.hash.replace("#","");e("section.ce_tabs").tabs("toggle",n)})}(jQuery); \ No newline at end of file