aboutsummaryrefslogtreecommitdiff
path: root/mavigator-cockpit
diff options
context:
space:
mode:
authorJakob Odersky <jakob@odersky.com>2016-11-14 01:04:09 -0800
committerJakob Odersky <jakob@odersky.com>2016-11-14 01:04:09 -0800
commit3a0e2a9d1859227ad2d49e8f248087fd607ed07a (patch)
treee69d7374515e44135c446e031d505279b94aa01c /mavigator-cockpit
parent8b04ff8211ba4d9aee0203748803f19a7148f789 (diff)
downloadmavigator-3a0e2a9d1859227ad2d49e8f248087fd607ed07a.tar.gz
mavigator-3a0e2a9d1859227ad2d49e8f248087fd607ed07a.tar.bz2
mavigator-3a0e2a9d1859227ad2d49e8f248087fd607ed07a.zip
Upgrade dependencies
Diffstat (limited to 'mavigator-cockpit')
-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
}