|
@@ -106,7 +106,7 @@ function nbInit(a,b){
|
|
item.style.display = "originalDisplay" in item ? item.originalDisplay : "";
|
|
item.style.display = "originalDisplay" in item ? item.originalDisplay : "";
|
|
}
|
|
}
|
|
else {
|
|
else {
|
|
- item.originalDisplay = item.style.display;
|
|
|
|
|
|
+ item.originalDisplay = "originalDisplay" in item ? item.originalDisplay : item.style.display;
|
|
item.style.display = "none";
|
|
item.style.display = "none";
|
|
}
|
|
}
|
|
return;
|
|
return;
|
|
@@ -264,3 +264,10 @@ function nbInit(a,b){
|
|
|
|
|
|
return scopeProxy;
|
|
return scopeProxy;
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+function nbGetData(el){
|
|
|
|
+ while (!('nbData' in el)){
|
|
|
|
+ el = el.parentElement || return null;
|
|
|
|
+ }
|
|
|
|
+ return el.nbData;
|
|
|
|
+}
|