mirror of
https://github.com/monstra-cms/monstra.git
synced 2025-08-05 04:37:51 +02:00
Files Manager Improvements #94
This commit is contained in:
@@ -1,18 +0,0 @@
|
||||
if (typeof $.monstra == 'undefined') $.monstra = {};
|
||||
|
||||
$.monstra.filesmanager = {
|
||||
|
||||
init: function() {
|
||||
this.showImage();
|
||||
},
|
||||
|
||||
showImage: function() {
|
||||
$('.image').find('a').on('click', function() {
|
||||
$('#previewLightbox').lightbox('show').find('img').attr('src', $(this).attr('rel'));
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
$(document).ready(function(){
|
||||
$.monstra.filesmanager.init();
|
||||
});
|
Reference in New Issue
Block a user