Title: Active Tab &#8211; LocalStorage issue
Last modified: October 16, 2017

---

# Active Tab – LocalStorage issue

 *  Resolved [ravimallya](https://wordpress.org/support/users/ravimallya/)
 * (@ravimallya)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/active-tab-localstorage-issue/)
 * It is related to [Settings active tab error (cause problem with other plugins)](https://wordpress.org/support/topic/settings-active-tab-error-cause-problem-with-other-plugins/)
   topic. We are also having the similar issue with the UX Builder of Flatsome theme.
   When we access the builder from the UX Builder tab as displayed in [Editor](https://ibb.co/cf60am)
   screenshot, we notice a localStorage key ‘jm_activetab’ is being set. This localstorage
   value is causing the javascript error “Uncaught Error: Syntax error, unrecognized
   expression:” which is shown in [this screenshot](https://ibb.co/gruiT6) that 
   resulting into the UX Builder inaccessible. It also resulting in the other errors
   as well.
 * We are having the version 8.0 of this plugin. If we disable the plugin, everything
   works fine. I’m still unsure why the active tab localstorage value is being set
   for the tabs not related to the plugin.
 * Please suggest.

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [Stefan van den Dungen Gronovius](https://wordpress.org/support/users/dungengronovius/)
 * (@dungengronovius)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/active-tab-localstorage-issue/#post-9594015)
 * We have the same problem on our website.
    Our plugin has an admin page where 
   we use the ‘nav-tab-wrapper’ class to create our own tabs. When clicking one 
   of our own tabs, there is a JS error on each page. When clearing the ‘jm_activetab’
   key from Local storage, the issue is temporarily fixed.
 * I think that it’s better to be more specific in your JS selectors to only trigger
   events on the JM Twitter Cards admin pages.
 *  [Tobias Schutter](https://wordpress.org/support/users/tschutter/)
 * (@tschutter)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/active-tab-localstorage-issue/#post-9594017)
 * I have the exact same issue.
 * The selector `$('.nav-tab-wrapper a')` in`settings.js` is too broad. The plugin
   should only load the JS file on its admin pages. Or it should make the selector
   specific for the JM tabs.
    -  This reply was modified 8 years, 6 months ago by [Tobias Schutter](https://wordpress.org/support/users/tschutter/).
 *  Thread Starter [ravimallya](https://wordpress.org/support/users/ravimallya/)
 * (@ravimallya)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/active-tab-localstorage-issue/#post-9600784)
 * It’s affecting to the functionality of WooCommerce settings such as Shipping,
   taxing where it uses ajax as the pages have tabs. Need to find a fix ASAP.
 *  Anonymous User 10765487
 * (@anonymized-10765487)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/active-tab-localstorage-issue/#post-9628163)
 * this is totally scandalous, will fix it asap, sorry for that, got no time to 
   check this before
 *  Anonymous User 10765487
 * (@anonymized-10765487)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/active-tab-localstorage-issue/#post-9628199)
 * this is fixed now
 *  Thread Starter [ravimallya](https://wordpress.org/support/users/ravimallya/)
 * (@ravimallya)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/active-tab-localstorage-issue/#post-9647334)
 * Thanks. Fixed.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Active Tab – LocalStorage issue’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/jm-twitter-cards.svg)
 * [JM Twitter Cards](https://wordpress.org/plugins/jm-twitter-cards/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jm-twitter-cards/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jm-twitter-cards/)
 * [Active Topics](https://wordpress.org/support/plugin/jm-twitter-cards/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jm-twitter-cards/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jm-twitter-cards/reviews/)

 * 6 replies
 * 4 participants
 * Last reply from: [ravimallya](https://wordpress.org/support/users/ravimallya/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/active-tab-localstorage-issue/#post-9647334)
 * Status: resolved