aboutsummaryrefslogtreecommitdiff
path: root/mavigator-cockpit/src/main/scala/mavigator/cockpit/Instruments.scala
diff options
context:
space:
mode:
Diffstat (limited to 'mavigator-cockpit/src/main/scala/mavigator/cockpit/Instruments.scala')
-rw-r--r--mavigator-cockpit/src/main/scala/mavigator/cockpit/Instruments.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/mavigator-cockpit/src/main/scala/mavigator/cockpit/Instruments.scala b/mavigator-cockpit/src/main/scala/mavigator/cockpit/Instruments.scala
index c8715f4..33bbbcf 100644
--- a/mavigator-cockpit/src/main/scala/mavigator/cockpit/Instruments.scala
+++ b/mavigator-cockpit/src/main/scala/mavigator/cockpit/Instruments.scala
@@ -48,7 +48,7 @@ trait Instruments { page: Page =>
/** Retrieves an SVG object element by its instrument's name. */
def svgObject(path: String): html.Object = {
val fullPath = page.asset("images/" + path)
- `object`(`type` := "image/svg+xml", "data".attr := fullPath, width := 100.pct)(
+ `object`(`type` := "image/svg+xml", attr("data") := fullPath, width := 100.pct)(
"Error loading instrument " + fullPath).render
}