SAAS-661: Add mobile stream identifier on Stream Settings page

This commit is contained in:
drigato 2015-03-23 16:06:35 -04:00
parent e2ca218ac2
commit e32744668f
5 changed files with 20 additions and 3 deletions

View file

@ -29,7 +29,7 @@ $(document).ready(function() {
$("#player_stream_url-element input[type='radio']").removeAttr("disabled");
$("input[name=player_stream_url]").each(function(i, obj) {
if ($(this).parent().text().indexOf("opus") >= 0) {
if ($(this).parent().text().toLowerCase().indexOf("opus") >= 0) {
$(this).attr("disabled", "disabled");
}
});