Fix jquery.client.test breakage
authorKrinkle <krinkle@users.mediawiki.org>
Sat, 28 Jan 2012 16:56:10 +0000 (16:56 +0000)
committerKrinkle <krinkle@users.mediawiki.org>
Sat, 28 Jan 2012 16:56:10 +0000 (16:56 +0000)
commit4917e3e7f73bb4c0a03d5c7d802e65ee5db928e0
tree088d15712118f8a508ff6c0b21a67f81e71cfe91
parentdb2179b7f6e5adeb5d5114e8a16524ebe19b37ba
Fix jquery.client.test breakage
* Remove both classes before adding one. Previously test ran normally on an "ltr" page because the loop starts with "ltr" and they matches naturally. It broke on pages that started out with "rtl". Fixed now
* Restored body classes after the test, otherwise both "rtl" and "ltr" would be gone, could influence other tests and layout stuff on the page.

* Follows-up r101845
tests/qunit/suites/resources/jquery/jquery.client.test.js