@jx3box/jx3box-editor 1.7.7 → 1.7.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/package.json +1 -1
  2. package/src/Article.vue +1 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jx3box/jx3box-editor",
3
- "version": "1.7.7",
3
+ "version": "1.7.8",
4
4
  "description": "JX3BOX Article & Editor",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/src/Article.vue CHANGED
@@ -232,6 +232,7 @@ export default {
232
232
  let id = $(this).attr('id')
233
233
  let target = $(`#${id}`).offset().top;
234
234
  $(document).scrollTop(target - HEADER_HEIGHT);
235
+ window.location.hash = `#${id}`;
235
236
  })
236
237
  },
237
238
  changePage: function (i) {