ext.uls.interface: clarify code

Changes to comments, naming and code to increase clarity of the code
and explain better what it does and why. No change in behavior.

Change-Id: I998fcfd620c2ee737618c3ab8f41fb6dfdd2c99a
This commit is contained in:
Niklas Laxström
2021-03-16 11:08:58 +01:00
committed by jenkins-bot
parent 099f1f37c8
commit 95b1137a57
2 changed files with 34 additions and 24 deletions

View File

@@ -321,7 +321,9 @@
};
/**
* Add the trigger at the bottom of the language list
* Add the trigger at the bottom of the language list.
*
* Click handler is setup in ext.uls.interface module.
*/
CompactInterlanguageList.prototype.addTrigger = function () {
var trigger = document.createElement( 'button' );