Better JavaScript handling for return method
authorCblair91 <admin@betadev.co.uk>
Sat, 30 Apr 2016 10:32:25 +0000 (10:32 +0000)
committerJdlrobson <jrobson@wikimedia.org>
Wed, 11 May 2016 23:49:05 +0000 (23:49 +0000)
commit8ca977e51992e1e14438e52c660d8b94d8d526c4
treef7205a9f3b5c1f11c89862faa0bc094b0f7f745c
parentf4324499dab6797bd3e358467119a82fb33236b6
Better JavaScript handling for return method

The length selector can be reduced to just find the child of $tbody, as it will check to see if both $tbody and the child .collapsible exist.

Change-Id: If927a5ca79d12f4654a1af9bad97c9274cb501e9
resources/src/mediawiki.action/mediawiki.action.view.metadata.js