bfg-common 1.0.41 → 1.0.43

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.
@@ -110,17 +110,12 @@ const hideMenu = (force?: boolean): void => {
110
110
  const windowClick = () => {
111
111
  hideMenu()
112
112
  }
113
- const windowResize = () => {
114
- hideMenu(true)
115
- }
116
113
  onMounted(() => {
117
114
  collapsedBtnId.value = `collapsed-btn${useUniqueId()}`
118
115
  window.addEventListener('mousedown', windowClick)
119
- window.addEventListener('resize', windowResize)
120
116
  })
121
117
  onUnmounted(() => {
122
118
  window.removeEventListener('mousedown', windowClick)
123
- window.removeEventListener('resize', windowResize)
124
119
  })
125
120
  </script>
126
121