wiki-plugin-rcngraph 0.1.0 → 0.1.1

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.
@@ -63,8 +63,8 @@
63
63
  if (!pendingItem || !pending$item) break
64
64
  pendingItem.graphJSON = data.graphJSON
65
65
  pendingItem.svgString = data.svgString
66
- const pageEl = pending$item.parents('.page')[0]
67
- wiki.pageHandler.put(pageEl, { type: 'edit', id: pendingItem.id, item: pendingItem })
66
+ const $page = pending$item.parents('.page:first')
67
+ wiki.pageHandler.put($page, { type: 'edit', id: pendingItem.id, item: pendingItem })
68
68
  renderContent(pending$item, pendingItem)
69
69
  bind(pending$item, pendingItem)
70
70
  break
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wiki-plugin-rcngraph",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Federated Wiki - RCN Graph Plug-in",
5
5
  "keywords": ["wiki", "federated wiki", "plugin", "rcn", "graph"],
6
6
  "author": "RCN Network <rcn@relocalizecreativity.net>",