Elgg-lightbox doesnt work on some pages

i have a weird error , Elgg-lightbox doesnt work on some pages .

for example on river. when i click a link that has 'elgg-lightbox' class it will not display a lightbox ,but just load a new page as usual.

but elg-lightbox still works other page like entity full_view page.

Does anyone know what is the problem ?