The apparently correct usage is not to pass an array (though that is now
checked). Make usage consistent to {...string}.
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
var log_textarea = E('div', { 'id': 'log_textarea' },
E('img', {
- 'src': L.resource(['icons/loading.gif']),
+ 'src': L.resource('icons/loading.gif'),
'alt': _('Loading...'),
'style': 'vertical-align:middle'
}, _('Collecting data...'))
render: function() {
var log_textarea = E('div', { 'id': 'log_textarea' },
E('img', {
- 'src': L.resource(['icons/loading.gif']),
+ 'src': L.resource('icons/loading.gif'),
'alt': _('Loading'),
'style': 'vertical-align:middle'
}, _('Collecting data...'))
var log_textarea = E('div', { 'id': 'log_textarea' },
E('img', {
- 'src': L.resource(['icons/loading.gif']),
+ 'src': L.resource('icons/loading.gif'),
'alt': _('Loading…'),
'style': 'vertical-align:middle'
}, _('Collecting data…'))