View Single Post
01-13-13, 12:42 PM   #1
Coldkil
A Cliff Giant
 
Coldkil's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2010
Posts: 70
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.
  Reply With Quote