Fix possible minor bug.

I don't know if the parser will know what you meant, or if issues could happen due to the  semicolon instead of the comma.
mobile: work around leaflet not seeing the WebView size in some cases, causing odd map issues at startup
not 100% certain it fixes it yet, as it doesn't happen every single time...
Changed the chain of if statements to else-if
Fix spelling error