local faction = (UnitFactionGroup("player") == "Alliance") and FACTION_ALLIANCE or FACTION_HORDE UIDropDownMenu_SetWidth(self, 100) UIDropDownMenu_SetButtonWidth(self, 20) UIDropDownMenu_SetText(self, faction) UIDropDownMenu_Initialize(self, Altoholic.Reputations.DropDownFaction_Initialize) FauxScrollFrame_OnVerticalScroll(self, offset, 41, Altoholic.Reputations.Update)