You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 24, 2020. It is now read-only.
From what I can tell there is not a specific way to disable a state. But, what I did was create a stateSpecificStyles and a stateSpecificHoverStyles that were the same fill color of a light gray. So, the state is light gray to begin with and when you hover over it, it is the same light gray thus making it seem disabled.
// Disable States
var States = {'AR': '/arkansas-fire-extinguisher-tag','CA': '/california-fire-extinguisher-tag','FL': '/florida-fire-extinguisher-tag','GA': '/georgia-fire-extinguisher-tag','IL': '/illinois-fire-extinguisher-tag','KS': '/kansas-fire-extinguisher-tag','LA': '/louisiana-fire-extinguisher-tag','MA': '/massachusetts-fire-extinguisher-tag','MT': '/montana-fire-extinguisher-tag','NV': '/nevada-fire-extinguisher-tag','NJ': '/new-jersey-fire-extinguisher-tag','NY': '/new-york-fire-extinguisher-tag','TX': '/texas-fire-extinguisher-tag', };
// for enable states
var enableStates = 'AR,CA,FL,GA,IL,KS,LA,MA,MT,NV,NJ,NY,TX'.split(',');
var stateSpecificStyles = {},
stateSpecificHoverStyles = {};
Is there a way that I can disable certain states?
The text was updated successfully, but these errors were encountered: