'); } }); }, "TabbedEvents": function(sliderTransitionSpeed) { // THE MODEVENTS METHOD RUNS BEFORE THIS METHOD // FOR SCOPE var _this = this; $(".hp-content.one .ui-widget.app.upcomingevents, .hp-content.two .ui-widget.app.upcomingevents, .hp-content.three .ui-widget.app.upcomingevents").each(function() { if($(".ui-articles > li", this).length >= 1 && $.trim($(".ui-article-description", this).text()) != "There are no upcoming events to display.") { // ADD A SECOND UL FOR THE PANELS $('