Skip to content

Commit b62b17e

Browse files
committed
subject to x
1 parent 43aaa74 commit b62b17e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/dokieli/dokieliPane.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export default {
4747

4848
// This data coul d come from a fetch OR from ldp comtaimner
4949
const hasContentTypeIn2 = function (kb, x, displayables) {
50-
const t = kb.findTypeURIs(subject)
50+
const t = kb.findTypeURIs(x)
5151
for (let k = 0; k < displayables.length; k++) {
5252
if ($rdf.Util.mediaTypeClass(displayables[k]).uri in t) {
5353
return true

src/humanReadablePane.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const humanReadablePane = {
4545

4646
// This data could come from a fetch OR from ldp container
4747
const hasContentTypeIn2 = function (kb, x, displayables) {
48-
const t = kb.findTypeURIs(subject)
48+
const t = kb.findTypeURIs(x)
4949
for (let k = 0; k < displayables.length; k++) {
5050
if (Util.mediaTypeClass(displayables[k]).uri in t) {
5151
return true

0 commit comments

Comments
 (0)