Skip to content

Commit e659a0d

Browse files
Jacob ThorntonJacob Thornton
authored andcommitted
dom ready
1 parent 154920e commit e659a0d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

js/zoom.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,9 @@
218218
}
219219
}
220220

221-
new ZoomService().listen()
221+
// wait for dom ready (incase script included before body)
222+
$(function () {
223+
new ZoomService().listen()
224+
})
222225

223226
}(jQuery)

0 commit comments

Comments
 (0)