mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
trying to override overlib function
This commit is contained in:
21
html/js/lazyload.js
Normal file
21
html/js/lazyload.js
Normal file
@@ -0,0 +1,21 @@
|
||||
$(document).ready(function(){
|
||||
|
||||
$("img.lazy").lazyload({
|
||||
//effect: "fadeIn"
|
||||
}).removeClass("lazy");
|
||||
|
||||
$(document).ajaxStop(function() {
|
||||
$("img.lazy").lazyload({
|
||||
//effect: "fadeIn"
|
||||
}).removeClass("lazy");
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
function get_overlib(content) {
|
||||
var ret = overlib(content, WRAP,HAUTO,VAUTO);
|
||||
|
||||
jQuery.event.trigger("ajaxStop");
|
||||
|
||||
return ret;
|
||||
}
|
||||
Reference in New Issue
Block a user