|
@@ -124,6 +124,7 @@ class Block {
|
|
public function markDepth() {
|
|
public function markDepth() {
|
|
var d = depth + 1;
|
|
var d = depth + 1;
|
|
var all = subs;
|
|
var all = subs;
|
|
|
|
+ if( all == null ) return;
|
|
while( all.length > 0 ) {
|
|
while( all.length > 0 ) {
|
|
var out = [];
|
|
var out = [];
|
|
for( b in all ) {
|
|
for( b in all ) {
|