Title: Lightbox JavaScript error: s.get(&#8230;).style.removeAttribute is not a function
Last modified: May 31, 2017

---

# Lightbox JavaScript error: s.get(…).style.removeAttribute is not a function

 *  [Ajax30](https://wordpress.org/support/users/ajax30/)
 * (@ajax30)
 * [9 years ago](https://wordpress.org/support/topic/lightbox-javascript-error-s-get-style-removeattribute-is-not-a-function/)
 * On [THIS](http://urbansunsets.com/gallery/london/) page, I have implemented the
   plugin. After I click on a photo, _it pops up fine_ in the lighbox, but the **
   next** and **previous** arrows are not showing.
 * The console shows this error: `s.get(...).style.removeAttribute is not a function`.
 * Why is that? What is the fix?

Viewing 1 replies (of 1 total)

 *  [akyusa01](https://wordpress.org/support/users/akyusa01/)
 * (@akyusa01)
 * [9 years ago](https://wordpress.org/support/topic/lightbox-javascript-error-s-get-style-removeattribute-is-not-a-function/#post-9183894)
 * Hi [@ajax30](https://wordpress.org/support/users/ajax30/) and thanks for contacting
   us! 🙂
 * I apologize for any trouble!
 * I can see the error and the lightbox opens the image but without controls. Have
   you possibly already tested for a conflict by deactivating the theme and other
   plugins? It could be a conflict.
 * Please let me know, thanks! 🙂

Viewing 1 replies (of 1 total)

The topic ‘Lightbox JavaScript error: s.get(…).style.removeAttribute is not a function’
is closed to new replies.

 * ![](https://ps.w.org/envira-gallery-lite/assets/icon-256x256.png?rev=2022837)
 * [Envira Gallery - Image Photo Gallery, Albums, Video Gallery, Slideshows & More](https://wordpress.org/plugins/envira-gallery-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/envira-gallery-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/envira-gallery-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/envira-gallery-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/envira-gallery-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/envira-gallery-lite/reviews/)

## Tags

 * [javascript](https://wordpress.org/support/topic-tag/javascript/)

 * 1 reply
 * 2 participants
 * Last reply from: [akyusa01](https://wordpress.org/support/users/akyusa01/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/lightbox-javascript-error-s-get-style-removeattribute-is-not-a-function/#post-9183894)
 * Status: not a support question