@vue-pdf-viewer/viewer 1.4.0-beta.8 → 1.4.0-beta.9

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.
package/dist/index.js CHANGED
@@ -2155,7 +2155,7 @@ const UM = (l, Z, U) => {
2155
2155
  },
2156
2156
  goToMatch: (p) => {
2157
2157
  const k = { min: 1, max: W.value.length }, z = V.value && V.value > k.max, w = V.value && V.value < k.min;
2158
- V.value && (z || w) && (V.value = p);
2158
+ p && (z || w) || (V.value = p);
2159
2159
  },
2160
2160
  onOpenSearch: () => {
2161
2161
  c.value = !0;