diff --git a/app/assets/javascripts/discourse/components/lightbox.js b/app/assets/javascripts/discourse/components/lightbox.js index cbd406d63..65947d05f 100644 --- a/app/assets/javascripts/discourse/components/lightbox.js +++ b/app/assets/javascripts/discourse/components/lightbox.js @@ -7,7 +7,6 @@ **/ Discourse.Lightbox = { apply: function($elem) { - var _this = this; $LAB.script("/javascripts/jquery.magnific-popup-min.js").wait(function() { $('a.lightbox', $elem).each(function(i, e) { $(e).magnificPopup({ type: 'image', closeOnContentClick: true });