X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/da27dfe2be374e3f8626f00662645a52013576fd..8705c980a8a35af6c4fc6e309f389bc1aae0b6d7:/platforma/static/js/views/gallery.js 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) {