Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TIP: delete buttons, × not X
#1
I cannot stand seeing X for delete.

Here is something to fix those plugin that still use X for delete. eg. i18n plugins

I use it in hook_footer with my hook components plugin.
Code:
<script type="text/javascript">
$('a').filter(function () {
    return $(this).text() === "X";
}).html('&times;');
</script>
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply




Users browsing this thread: 1 Guest(s)