From 0f965e80d0b82a3dcc327457785f44ac9cfff643 Mon Sep 17 00:00:00 2001 From: Dale Sande Date: Wed, 26 Jun 2019 12:29:30 -0700 Subject: [PATCH] fix: address issue with camelCase default variable --- src/ods-hyperlink.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ods-hyperlink.js b/src/ods-hyperlink.js index b913fee..5aad5b0 100644 --- a/src/ods-hyperlink.js +++ b/src/ods-hyperlink.js @@ -18,7 +18,7 @@ import stepout from '@alaskaairux/orion-icons/dist/icons/stepout_es6.js'; class OdsHyperlink extends LitElement { constructor() { super(); - this.ariaPressed = 'false'; + this.ariapressed = 'false'; this.tabisactive = 'false'; /* @@ -93,7 +93,7 @@ class OdsHyperlink extends LitElement { } } - ariaPressedState(ariaPressed) { + ariaPressedState(ariapressed) { const ariaToggle = function (event) { const ariaPressedNode = this.shadowRoot.querySelector('[aria-pressed]'); @@ -127,7 +127,7 @@ class OdsHyperlink extends LitElement { this.addEventListener('mouseup', ariaToggle, false); this.addEventListener('keyup', ariaToggle, false); - return ariaPressed + return ariapressed } // function that renders the HTML and CSS into the scope of the component @@ -137,7 +137,7 @@ class OdsHyperlink extends LitElement { ${styleCss}