mediawiki.util: Fix addPortletLink to allow jQuery objects
authorMark Holmquist <mtraceur@member.fsf.org>
Thu, 1 Aug 2013 00:25:29 +0000 (17:25 -0700)
committerTimo Tijhof <krinklemail@gmail.com>
Thu, 1 Aug 2013 23:31:53 +0000 (01:31 +0200)
commit8d629551524d4bfaab633f309197361b9a793aee
tree9ba6b0d0b94c96eb7f38b8a1e91b9a03cd741c17
parentc7f174bf6846df0bf9b758492d2ef13009417b72
mediawiki.util: Fix addPortletLink to allow jQuery objects

The docs already say jQuery is a supported type for nextnode, it just
wasn't yet checking for it in the function.

Change-Id: I0bdc7dacd24aac720b70c6fc0ca3154ceccd0ebb
RELEASE-NOTES-1.22
resources/mediawiki/mediawiki.util.js
tests/qunit/suites/resources/mediawiki/mediawiki.util.test.js