# HG changeset patch # User Drew Perttula # Date 2018-06-07 17:43:19 # Node ID 959371c3fa15b9d5498f2451a85695922156837b # Parent d8ae388a807612b4791ddc3b985e446f0d2b1a10 resource-display optimize out some redraws Ignore-this: 1e7595ef5ebb1574f0c6b77763aa6a0c diff --git a/light9/web/resource-display.html b/light9/web/resource-display.html --- a/light9/web/resource-display.html +++ b/light9/web/resource-display.html @@ -107,7 +107,9 @@ this.href = "javascript:;"; return; } - + if (patch !== null && !SyncedGraph.patchContainsPreds(patch, this.graph.Uri('rdfs:label'))) { + return; + } let uri = this.uri; if (typeof uri === 'string') { uri = this.graph.Uri(uri);