@@ -76,8 +76,7 @@ |
||
| 76 | 76 | if ( $dataItem instanceof SMWDITime ) { |
| 77 | 77 | if ( $startDate === null ) { |
| 78 | 78 | $startDate = $dataItem; |
| 79 | - } |
|
| 80 | - else if ( $endDate === null ) { |
|
| 79 | + } else if ( $endDate === null ) { |
|
| 81 | 80 | $endDate = $dataItem; |
| 82 | 81 | break; |
| 83 | 82 | } |
@@ -135,8 +135,7 @@ |
||
| 135 | 135 | |
| 136 | 136 | if ( strpos( $height, '%' ) === false ) { |
| 137 | 137 | $json['timenav_height'] = (int)substr( $height, 0, -2 ); |
| 138 | - } |
|
| 139 | - else { |
|
| 138 | + } else { |
|
| 140 | 139 | $json['timenav_height_percentage'] = (int)substr( $height, 0, -1 ); |
| 141 | 140 | } |
| 142 | 141 | |