1
0
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:
Awilum
2014-01-06 21:05:12 +02:00
parent 83f7be1c7d
commit 02fa169760
3 changed files with 2 additions and 23 deletions

View File

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