removes unused context binding from Discourse.Lightbox

This commit is contained in:
Wojciech Zawistowski 2013-10-11 17:40:30 +02:00
parent fee2734aaa
commit b4a6a5e841

View file

@ -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 });