# HG changeset patch # User Drew Perttula # Date 1497090414 0 # Node ID fb9e846463206f552ed95ec36948c91bbde891bc # Parent b48b0d9812cfcdbdca5cdd441ed5257b44800d40 show uri tail for label on timeline attra Ignore-this: ee78e01186a190314112efceeeb9f2a7 diff -r b48b0d9812cf -r fb9e84646320 light9/web/timeline/timeline.coffee --- a/light9/web/timeline/timeline.coffee Sat Jun 10 10:24:53 2017 +0000 +++ b/light9/web/timeline/timeline.coffee Sat Jun 10 10:26:54 2017 +0000 @@ -674,7 +674,10 @@ #console.time('attrs update') U = (x) => @graph.Uri(x) @effect = @graph.uriValue(@uri, U(':effectClass')) - @effectLabel = @graph.stringValue(@effect, U('rdfs:label')) or (@effect.replace(/.*\//, '')) + try + @effectLabel = @graph.stringValue(@effect, U('rdfs:label')) + catch + @effectLabel = @effect.replace(/.*\//, '') @noteLabel = @uri.replace(/.*\//, '') existingColorScaleSetting = null