Skip to content

Commit 340b5bc

Browse files
committed
Used wrong link for store in findImage
1 parent 81dd5f4 commit 340b5bc

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/widgets/buttons.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ const dragAndDrop = require('./dragAndDrop')
2323
const cancelIconURI = UI.icons.iconBase + 'noun_1180156.svg' // black X
2424
const checkIconURI = UI.icons.iconBase + 'noun_1180158.svg' // green checkmark; Continue
2525

26-
const ns = UI.ns
27-
const kb = UI.store
28-
2926
function getStatusArea (context) {
3027
var box = context.statusArea || context.div || null
3128
if (box) return box
@@ -223,6 +220,8 @@ buttons.findImageByClass = function findImageByClass (x) {
223220
}
224221

225222
buttons.findImage = (thing) => {
223+
const kb = UI.store
224+
const ns = UI.ns
226225
const iconDir = UI.icons.iconBase
227226
if (thing.sameTerm(ns.foaf('Agent')) || thing.sameTerm(ns.rdf('Resource'))) {
228227
return iconDir + 'noun_98053.svg' // Globe

0 commit comments

Comments
 (0)