|
|
@@ -22,6 +22,7 @@ Lungo.Boot.Section = (function(lng, undefined) {
|
|
|
var init = function() {
|
|
|
_initFirstSection();
|
|
|
_initAllSections();
|
|
|
+ _initAllAsides();
|
|
|
|
|
|
lng.View.Resize.toolbars();
|
|
|
};
|
|
|
@@ -45,6 +46,14 @@ Lungo.Boot.Section = (function(lng, undefined) {
|
|
|
}
|
|
|
};
|
|
|
|
|
|
+ var _initAllAsides = function() {
|
|
|
+ var aside = null;
|
|
|
+ for (var i = 0, len = lng.Element.asides.length; i < len; i++) {
|
|
|
+ aside = lng.dom(lng.Element.asides[i]);
|
|
|
+ aside.children(ELEMENT.ARTICLE).addClass(CLASS.CURRENT);
|
|
|
+ }
|
|
|
+ };
|
|
|
+
|
|
|
var _initArticles = function(section_index) {
|
|
|
var section = lng.dom(lng.Element.sections[section_index]);
|
|
|
|