N°3560 Remove useless code

This commit is contained in:
Stephen Abello
2021-02-19 12:31:39 +01:00
parent cc4727ad95
commit 00008528a6

View File

@@ -34,15 +34,7 @@ $.widget( "itop.scrollabletabs", $.ui.tabs, {
this.element.on('scrollabletabsload', afterloadajax);
this._super(this.options);
//Load remote tabs as soon as possible
$(this.js_selectors.tab_toggler).each(function() {
var that = this;
if($(that).attr('href').charAt(0) !== '#') {
var index = $(this).parent('li').prevAll().length
//me.load(index);
}
});
// Add every other tab to the controller
$(this.js_selectors.tab_toggler).each(function(){