Index: trunk/extensions/Collection/js/bookcreator.js |
— | — | @@ -86,9 +86,10 @@ |
87 | 87 | 'rsargs[]': [title] |
88 | 88 | }, function(result) { |
89 | 89 | visible = true; |
| 90 | + var img = $('<img />').attr({src: result.img, alt: ''}); |
90 | 91 | addremove_link |
91 | | - .text(result.text) |
92 | | - .prepend('<img src="' + result.img + '" alt=""> ') |
| 92 | + .text('\u00a0' + result.text) |
| 93 | + .prepend(img) |
93 | 94 | .unbind('click') |
94 | 95 | .click(function(e) { addremove_article(result.action, title); }); |
95 | 96 | popup_div |