jQuery Treeview: change hitarea position

jQuery Treeview: change hitarea position

Has anyone used this plugin?

I would put the icon "+" on the right side of the item, but I can not change the code:

  1. // create hitarea if not present
  2. var hitarea = this.find("div." + CLASSES.hitarea);
  3. if (!hitarea.length)
  4. hitarea = this.prepend("<div class=\"" + CLASSES.hitarea + "\"/>").find("div." + CLASSES.hitarea);
  5. hitarea.removeClass().addClass(CLASSES.hitarea).each(function() {
  6. var classes = "";
  7. $.each($(this).parent().attr("class").split(" "), function() {
  8. classes += this + "-hitarea ";
  9. });
  10. $(this).addClass( classes );
  11. })