Index: elements/viewer-button/viewer-button.html |
diff --git a/elements/viewer-button/viewer-button.html b/elements/viewer-button/viewer-button.html |
index aec77e3e6b51c9a5f92267afa2fe3391beec900a..38bf194dacb39bd1d756358610c1c1dea629397b 100644 |
--- a/elements/viewer-button/viewer-button.html |
+++ b/elements/viewer-button/viewer-button.html |
@@ -1,10 +1,10 @@ |
<polymer-element name="viewer-button" attributes="src latchable"> |
- <template> |
- <link rel="stylesheet" href="viewer-button.css"> |
- <div id="icon"></div> |
- </template> |
- <script> |
- (function() { |
+<template> |
+ <link rel="stylesheet" href="viewer-button.css"> |
+ <div id="icon"></div> |
+</template> |
+<script> |
+ (function() { |
var dpi = ''; |
Polymer('viewer-button', { |
@@ -20,7 +20,7 @@ |
if (this.src) { |
this.$.icon.style.backgroundImage = |
'url(' + this.getAttribute('assetpath') + 'img/' + dpi + |
- 'DPI/' + this.src + ')'; |
+ 'DPI/' + this.src + ')'; |
} else { |
this.$.icon.style.backgroundImage = ''; |
} |
@@ -32,6 +32,6 @@ |
this.classList.remove('latchable'); |
}, |
}); |
- })(); |
- </script> |
+ })(); |
+</script> |
</polymer-element> |