(function($) { $("#clipboard_item_<%= @item.id -%>").remove(); Alchemy.growl('<%= _t("item removed from clipboard", :name => @item.class.to_s == "Element" ? @item.display_name_with_preview_text : @item.name) -%>'); <%- if @clipboard.blank? -%> $('#clipboard_button .icon.clipboard').removeClass('full'); $("#clipboard_items").replaceWith("
<%= _t('No items in your clipboard') -%>
"); <%- end -%> })(jQuery);