Files
weave-scope/client/app/scripts/utils/contrast-utils.js
jpellizzari c9048d8661 Revert "Merge pull request #2204 from weaveworks/contrast-as-component"
This reverts commit 68e8cbf4f6, reversing
changes made to 00408b84e8.

Reverts bug where contrast mode is showing by default
2017-02-14 10:59:34 -08:00

8 lines
187 B
JavaScript

export const contrastModeUrl = 'contrast.html';
const contrastMode = window.location.pathname.indexOf(contrastModeUrl) > -1;
export function isContrastMode() {
return contrastMode;
}