Skip to:
Content

BuddyPress.org

Ticket #3194: 3194.01.patch

File 3194.01.patch, 703 bytes (added by Dennissmolek, 14 years ago)

This removes the button class and the cursor, but it being a link it still has the hover. I could make a rejected or accepted class in the css as they already get attached.. ..

  • global.js

     
    746746                                                action_div.children('a.reject').hide();
    747747                                                jq(this).html( BP_DTheme.accepted ).fadeIn(50);
    748748                                                jq(this).addClass('accepted');
     749                                                jq(this).removeClass('button');
     750                                                jq(this).css({'text-decoration':'none','cursor':'default'});
    749751                                        } else {
    750752                                                action_div.children('a.accept').hide();
    751753                                                jq(this).html( BP_DTheme.rejected ).fadeIn(50);
    752754                                                jq(this).addClass('rejected');
     755                                                jq(this).removeClass('button');
     756                                                jq(this).css({'text-decoration':'none','cursor':'default'});
    753757                                        }
    754758                                });
    755759                        }