Fix javascript error in chrome
Fix javascript error in chrome

when i was on https://review.typo3.org/#/q/status:open i saw a javascript error

Uncaught TypeError: Cannot read property 'length' of null
    at a (Form.js:14)
    at window.onload (Form.js:74)
    at w (gerrit_ui.nocache.js:4)
    at v (gerrit_ui.nocache.js:3)
    at m (gerrit_ui.nocache.js:9)
    at gerrit_ui.nocache.js:10
    at HTMLDocument.d (gerrit_ui.nocache.js:6)

which leads to this line:

if (form.length > 0) {

by doing form && form.length it prevents the error from happening.
TYPO3-cookbooks/site-reviewtypo3org,TYPO3-cookbooks/site-reviewtypo3org,TYPO3-cookbooks/site-reviewtypo3org,TYPO3-cookbooks/site-reviewtypo3org