Merge pull request #694 from 2secslater/player-preferences-typo-fix

Fix annoying typo in Preferences view for the player view
This commit is contained in:
Omar Roth 2019-08-14 19:17:29 -05:00 committed by GitHub
commit 19eceb4ecc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ function update_value(element) {
<div class="pure-control-group"> <div class="pure-control-group">
<label for="player_style"><%= translate(locale, "Player style: ") %></label> <label for="player_style"><%= translate(locale, "Player style: ") %></label>
<select name="player_style" id="player_style"> <select name="player_style" id="player_style">
<% {"invidous", "youtube"}.each do |option| %> <% {"invidious", "youtube"}.each do |option| %>
<option value="<%= option %>" <% if preferences.player_style == option %> selected <% end %>><%= translate(locale, option) %></option> <option value="<%= option %>" <% if preferences.player_style == option %> selected <% end %>><%= translate(locale, option) %></option>
<% end %> <% end %>
</select> </select>