X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/c6b7810b77a7b84da1114ddfd424357496bcab9f..a5dd9b05d1136543817c697ecd0d878a1aa4d260:/platforma/static/js/views/gallery.js?ds=sidebyside diff --git a/platforma/static/js/views/gallery.js b/platforma/static/js/views/gallery.js index e0e3dc7e..176b0abb 100644 --- a/platforma/static/js/views/gallery.js +++ b/platforma/static/js/views/gallery.js @@ -182,7 +182,11 @@ var ImageGalleryView = View.extend({ offset.y = vp_height-MARGIN; $page.css({left: offset.x, top: offset.y}); - }, + }, + + reload: function() { + this.model.load(true); + }, renderImage: function(target) {