Changeset - 9a33dd466aea
[Not reviewed]
default
0 1 0
Drew Perttula - 7 years ago 2018-06-07 07:31:13
drewp@bigasterisk.com
1 file changed with 2 insertions and 1 deletions:
0 comments (0 inline, 0 general)
light9/web/resource-display.html
Show inline comments
 
@@ -98,18 +98,19 @@
 
               uri = this.graph.Uri(uri);
 
           }
 
           this.graph.runHandler(this.setLabel.bind(this),
 
                                 `label ${uri.value}`);
 
       }
 
       
 
       setLabel() {
 
     setLabel(patch) {
 
           if (!this.uri) {
 
               this.label = "<no uri>";
 
               this.href = "javascript:;";
 
               return;
 
           }
 

	
 
           let uri = this.uri;
 
           if (typeof uri === 'string') {
 
               uri = this.graph.Uri(uri);
 
           }
 
           this.label = this.graph.labelOrTail(uri);
 
           this.href = uri.value;
0 comments (0 inline, 0 general)