GetSimple Support Forum
TIP: delete buttons, × not X - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: Developer Discussions (http://get-simple.info/forums/forumdisplay.php?fid=8)
+--- Thread: TIP: delete buttons, × not X (/showthread.php?tid=4953)



TIP: delete buttons, × not X - shawn_a - 2013-07-17

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>