X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/0da29a22a23a90561df3d201a299f3007c84d524..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 8fdf4b96..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,14 +14,6 @@ SummaryPerspective.prototype = new $.wiki.Perspective(); - SummaryPerspective.prototype.refreshCover = function() { - this.doc.refreshCover({ - success: function(text) { - $('#summary-cover').attr('src', text); - } - }); - }; - SummaryPerspective.prototype.showCharCount = function() { var cc; try {