mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-10 02:08:38 +09:00
Minor performance improvement by elimination of an unnecessary intermediate array
This commit is contained in:
parent
f5edbe658c
commit
0dd6a089f6
1 changed files with 3 additions and 2 deletions
|
|
@ -789,6 +789,7 @@
|
|||
]]>
|
||||
</handler>
|
||||
#endif // XP_MACOSX
|
||||
|
||||
<handler event="keydown" keycode="VK_ESCAPE">
|
||||
<![CDATA[
|
||||
if (this._editingColumn) {
|
||||
|
|
@ -1534,10 +1535,10 @@
|
|||
popupChild.setAttribute("disabled", "true");
|
||||
columns[currElement.getAttribute("ordinal")] = popupChild;
|
||||
});
|
||||
columns.filter(function () { return true; })
|
||||
.forEach(function (e, i) {
|
||||
columns.filter(function (e, i) {
|
||||
e.setAttribute("colindex", i);
|
||||
aPopup.insertBefore(e, refChild);
|
||||
return false;
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue