# HG changeset patch # User Drew Perttula # Date 1528393399 0 # Node ID 959371c3fa15b9d5498f2451a85695922156837b # Parent d8ae388a807612b4791ddc3b985e446f0d2b1a10 resource-display optimize out some redraws Ignore-this: 1e7595ef5ebb1574f0c6b77763aa6a0c diff -r d8ae388a8076 -r 959371c3fa15 light9/web/resource-display.html --- a/light9/web/resource-display.html Thu Jun 07 17:42:36 2018 +0000 +++ b/light9/web/resource-display.html Thu Jun 07 17:43:19 2018 +0000 @@ -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);