mirror of
https://github.com/discourse/discourse.git
synced 2024-12-02 05:29:17 -06:00
Merge pull request #1521 from velesin/lightbox_context_refactoring
removes unused context binding from Discourse.Lightbox
This commit is contained in:
commit
27985292e3
@ -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 });
|
||||
|
Loading…
Reference in New Issue
Block a user