Skip to content

Commit 8248035

Browse files
committed
Corrected deploy sccript
1 parent 9a926af commit 8248035

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

lib/src/index.js

+1
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ const MicroModal = (() => {
152152

153153
const focusableNodes = this.getFocusableNodes()
154154

155+
// remove nodes on whose click, the modal closes
155156
// could not think of a better name :(
156157
const nodesWhichAreNotCloseTargets = focusableNodes.filter(node => !node.hasAttribute('data-micromodal-close'))
157158

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"test:serve": "yarn workspace @micromodal/tests serve",
2323
"test:gui": "yarn workspace @micromodal/tests cypress:open",
2424
"test:cli": "yarn workspace @micromodal/tests cypress:cli",
25-
"deploy:npm": "yarn workspace micromodal publish",
25+
"deploy:npm": "yarn workspace micromodal deploy",
2626
"deploy:docs": "yarn workspace @micromodal/docs deploy"
2727
},
2828
"repository": {

0 commit comments

Comments
 (0)