installer: Clean up ext-dependency jQuery code
authorTimo Tijhof <krinklemail@gmail.com>
Wed, 18 Apr 2018 02:14:30 +0000 (03:14 +0100)
committerTimo Tijhof <krinklemail@gmail.com>
Wed, 18 Apr 2018 02:14:30 +0000 (03:14 +0100)
commitfd8a4c707a9c053ccf20ba0594cfc9c11354a374
tree5890ee19dbc623e02a0b573ed50bfe3066d5239a
parentd37ee8e91e0b08a937e3721bee406e16ab84c0de
installer: Clean up ext-dependency jQuery code

Follows-up c8833d8e8ecc.

* Select the input elements by class to avoid accidentally trigging
  on unrelated elements elsewhere on the page in the future, given
  the generic selector.

* Use on('change') instead of deprecated change() alias.

* Set properties directly instead of via prop() indirection.
* Get attribute directly instead of via data() indirection.

Change-Id: I5158aa26b5fd7327d6795f0a31bbffbe99043fbf
includes/installer/WebInstallerOptions.php
mw-config/config.js