summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOmar Roth <omarroth@hotmail.com>2018-02-05 19:11:57 -0600
committerOmar Roth <omarroth@hotmail.com>2018-02-05 19:11:57 -0600
commite9ee41846c96eebbb558ff16906c06cda720bf31 (patch)
tree916c435cce859b678eda15289f93d8a4ead5c80f /src
parentc8d2d122824b233e40423f7217772bab1f21c8dc (diff)
downloadinvidious-e9ee41846c96eebbb558ff16906c06cda720bf31.tar.gz
invidious-e9ee41846c96eebbb558ff16906c06cda720bf31.tar.bz2
invidious-e9ee41846c96eebbb558ff16906c06cda720bf31.zip
Fix formatting
Diffstat (limited to 'src')
-rw-r--r--src/views/error.ecr2
-rw-r--r--src/views/layout.ecr2
-rw-r--r--src/views/search.ecr2
-rw-r--r--src/views/watch.ecr4
4 files changed, 4 insertions, 6 deletions
diff --git a/src/views/error.ecr b/src/views/error.ecr
index a0fe014a..65ec9513 100644
--- a/src/views/error.ecr
+++ b/src/views/error.ecr
@@ -2,4 +2,4 @@
<title><%= "Error" %> - Invidious</title>
<% end %>
-<%= error_message %> \ No newline at end of file
+<%= error_message %>
diff --git a/src/views/layout.ecr b/src/views/layout.ecr
index c6fe7a5e..fb2907e6 100644
--- a/src/views/layout.ecr
+++ b/src/views/layout.ecr
@@ -35,4 +35,4 @@
</div>
</body>
-</html> \ No newline at end of file
+</html>
diff --git a/src/views/search.ecr b/src/views/search.ecr
index f26b7bf2..da585366 100644
--- a/src/views/search.ecr
+++ b/src/views/search.ecr
@@ -19,4 +19,4 @@
<p style="text-align:right;">
<a class="link" href="/search?q=<%= query %>&page=<%= page + 1 %>">Next page</a>
-</p> \ No newline at end of file
+</p>
diff --git a/src/views/watch.ecr b/src/views/watch.ecr
index 6e0e7242..213eba14 100644
--- a/src/views/watch.ecr
+++ b/src/views/watch.ecr
@@ -113,10 +113,8 @@ var player = videojs('player', options, function() {
<% if rv.has_key?("id") %>
<a class="link" href="/watch?v=<%= rv["id"] %>">
<img style="width:100%;" alt="thumbnail" src="<%= rv["iurlmq"] %>">
+ <%= rv["title"] %>
</a>
- <p>
- <a style="display:block; width:100%; height:100%;" class="link" href="/watch?v=<%= rv["id"] %>"><%= rv["title"] %></a>
- </p>
<% end %>
<% end %>
</div>