X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/f3339efe0d7ffa1199a113108c0e2f6f6b07afe2..0f68e6fc21bd981cf57b263e94d92b712fc84e63:/redakcja/static/js/wiki/view_summary.js?ds=sidebyside diff --git a/redakcja/static/js/wiki/view_summary.js b/redakcja/static/js/wiki/view_summary.js index 099a0e81..151b10b9 100644 --- a/redakcja/static/js/wiki/view_summary.js +++ b/redakcja/static/js/wiki/view_summary.js @@ -6,11 +6,6 @@ options.callback = function() { var self = this; - // first time page is rendered - $('#summary-cover-refresh').click(function() { - self.refreshCover(); - }); - old_callback.call(this); } @@ -19,16 +14,6 @@ SummaryPerspective.prototype = new $.wiki.Perspective(); - SummaryPerspective.prototype.refreshCover = function() { - $('#summary-cover-refresh').attr('disabled', 'disabled'); - this.doc.refreshCover({ - success: function(text) { - $('#summary-cover').attr('src', text); - $('#summary-cover-refresh').removeAttr('disabled'); - } - }); - }; - SummaryPerspective.prototype.showCharCount = function() { var cc; try {