mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
Merge pull request #1521 from velesin/lightbox_context_refactoring
removes unused context binding from Discourse.Lightbox
This commit is contained in:
commit
27985292e3
1 changed files with 0 additions and 1 deletions
|
@ -7,7 +7,6 @@
|
||||||
**/
|
**/
|
||||||
Discourse.Lightbox = {
|
Discourse.Lightbox = {
|
||||||
apply: function($elem) {
|
apply: function($elem) {
|
||||||
var _this = this;
|
|
||||||
$LAB.script("/javascripts/jquery.magnific-popup-min.js").wait(function() {
|
$LAB.script("/javascripts/jquery.magnific-popup-min.js").wait(function() {
|
||||||
$('a.lightbox', $elem).each(function(i, e) {
|
$('a.lightbox', $elem).each(function(i, e) {
|
||||||
$(e).magnificPopup({ type: 'image', closeOnContentClick: true });
|
$(e).magnificPopup({ type: 'image', closeOnContentClick: true });
|
||||||
|
|
Loading…
Reference in a new issue