Commit b42494592f787629258af973e83068ad93581275
1 parent
a162c220
Exists in
master
and in
5 other branches
Change success panel container
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
js/main.js
... | ... | @@ -566,7 +566,7 @@ define(['handlebars', 'fastclick', 'handlebars_helpers'], function(Handlebars, F |
566 | 566 | container.css('opacity', 0.1); |
567 | 567 | var successPanel = $('.success-panel').clone(); |
568 | 568 | successPanel.find('.message').html(text); |
569 | - successPanel.appendTo(container.closest('.proposal-detail')); | |
569 | + successPanel.appendTo(container.closest('.categories')); | |
570 | 570 | successPanel.show(); |
571 | 571 | successPanel.css("top", Math.max(0, ((container.height() - successPanel.outerHeight()) / 2) + container.offset().top) + "px"); |
572 | 572 | successPanel.css("left", Math.max(0, ((container.width() - successPanel.outerWidth()) / 2) + container.offset().left) + "px"); | ... | ... |