Skip to content

Commit 83e544d

Browse files
committed
update default value for "selector" option
1 parent cf58a07 commit 83e544d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ jQuery's `ready` event).
216216
* **autoInit**: auto initialization of the plugin, that is processing of all elements matching `selector` selector in
217217
jQuery's `ready` event, if it is disabled you have to do such initialization manually as explained in [Advanced
218218
initialization](#advanced-initialization) section (default `true`)
219-
* **selector**: selector for elements that should be lazy-loaded (default `'img'`)
219+
* **selector**: selector for elements that should be lazy-loaded (default `'img[data-src]'`)
220220
* **srcAttr**: attribute containing actual `src` path, see example below in [Hi-DPI (Retina) images]
221221
(#hi-dpi-retina-images) section (default `'data-src'`)
222222
* **blankImage**: blank image for used until actual image is not loaded (default is transparent 1x1 gif image in

0 commit comments

Comments
 (0)