@@ -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 | |
@@ -70,8 +70,7 @@ |
||
| 70 | 70 | if ( $dataItem instanceof SMWDITime ) { |
| 71 | 71 | if ( $startDate === null ) { |
| 72 | 72 | $startDate = $dataItem; |
| 73 | - } |
|
| 74 | - elseif ( $endDate === null ) { |
|
| 73 | + } elseif ( $endDate === null ) { |
|
| 75 | 74 | $endDate = $dataItem; |
| 76 | 75 | break; |
| 77 | 76 | } |