Icon existence check in lte-ie7.js

136 views
Skip to first unread message

peter....@gmail.com

unread,
Nov 18, 2012, 9:26:28 AM11/18/12
to ico...@googlegroups.com
This change to lte-ie7.js adds a check, if the icon really exists in the icons array (or we get some strange empty span tags).

- if (c) {
+ if (c && icons[c[0]] != null) {

This change request is also referenced at https://github.com/joomla/joomla-cms/pull/538/files.

Reply all
Reply to author
Forward
0 new messages