PageSourceSearch

https://stels-gruzoperevozki.ru/wp-content/themes/my_custom/js/bindimgload.js

js stels-gruzoperevozki.ru collected 2026-10-07 18:17:11 UTC 770 bytes, 23 lines download raw bytes

1// *****************плагин фикс для загрузки изображений 
2(function ($) {
3    $.fn.bindImageLoad = function (callback) {
4        function isImageLoaded(img) {
5            if (!img.complete) {
6                return false;
7            }
8            if (typeof img.naturalWidth !== "undefined" && img.naturalWidth > 0) {
9                return false;
10            }
11            return true;
12        }
13        return this.each(function () {
14            var ele = $(this);
15            if (ele.is("img") && $.isFunction(callback)) {
16                ele.one("load", callback);
17                if (isImageLoaded(this)) {
18                    ele.trigger("load");
19                }
20            }
21        });
22    };
23})(jQuery);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.