Remove video original link option

This commit is contained in:
isqua 2015-01-31 14:11:29 +03:00
parent a2f6aab453
commit 18e75842f8
4 changed files with 2 additions and 13 deletions

View file

@ -74,9 +74,6 @@
"option_videos_parse_all_links": {
"message": "Parse all links"
},
"option_videos_parse_leave_links": {
"message": "Leave original link"
},
"option_embedding_soundcloud": {
"message": "Soundcloud"
},

View file

@ -74,9 +74,6 @@
"option_videos_parse_all_links": {
"message": "Все ссылки на видео"
},
"option_videos_parse_leave_links": {
"message": "Оставлять ссылку на видео"
},
"option_embedding_soundcloud": {
"message": "Soundcloud"
},

View file

@ -844,7 +844,7 @@ function parse_webm(current_options) {
obj.parentElement.insertBefore(player, obj);
if (current_options.is('option_videos_parse_leave_links', false)) {
if (current_options.is('option_embedding_remove_original_link')) {
$(obj).hide();
}
}
@ -868,7 +868,7 @@ function parse_all_videos(current_options) {
obj.parentElement.insertBefore(player, obj);
if (current_options.is('option_videos_parse_leave_links', false)) {
if (current_options.is('option_embedding_remove_original_link')) {
$(obj).hide();
}
}

View file

@ -75,11 +75,6 @@
<span data-i18n="option_videos_parse_all_links"></span>
</label>
</div>
<label class="option-node">
<input type="checkbox" name="option-videos-parse-leave-links">
<span data-i18n="option_videos_parse_leave_links"></span>
</label>
</div>
<label class="option-node">