@@ -267,7 +267,12 @@ function nbInit(a,b){
function nbGetData(el){
while (!('nbData' in el)){
- el = el.parentElement || return null;
+ if (el.parentElement){
+ el = el.parentElement;
+ }
+ else {
+ return null;
}
return el.nbData;