sfc-utils 1.3.7 → 1.3.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/accountswap.js +1 -1
  2. package/package.json +1 -1
package/accountswap.js CHANGED
@@ -11,7 +11,7 @@ const pollForAccount = function(i){
11
11
  // Safecheck for treg since it might not be global yet
12
12
  if (window && window.treg && window.treg.identity && window.treg.identity.id){
13
13
  // We got a valid entitlement! Let's see if the button exists and swap our new one in
14
- const subButton = documment.querySelector('.sub-box')
14
+ const subButton = document.querySelector('#nav2-sub-box')
15
15
  console.log("found and swapped")
16
16
  if (subButton){
17
17
  subButton.setAttribute("href", accountURL)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sfc-utils",
3
- "version": "1.3.7",
3
+ "version": "1.3.8",
4
4
  "author": "ewagstaff <evanjwagstaff@gmail.com>",
5
5
  "dependencies": {
6
6
  "archieml": "^0.4.2",