how to disable oUF element by conditionals
I have never needed to do thios so i never tried - i just need the correct syntax.
Basically i use oUF class icons for everyone but warlocks, since i have made my own script. So, while before 5.1 i just didn't define self.ClassIcons for locks (i called if myclass monk, pala, priest) and everything is working, now i need to include them otherwise the classicons module returns me an error not finding the elements.
I can hide the frames, but this way code would be running twice for the same thing and i want to avoid that. Any help will be appreciated.
|