mirror of
https://bitbucket.org/skobkin/chrome_point_plus.git
synced 2024-11-14 14:53:05 +00:00
Remove video original link option
This commit is contained in:
parent
a2f6aab453
commit
18e75842f8
|
@ -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"
|
||||
},
|
||||
|
|
|
@ -74,9 +74,6 @@
|
|||
"option_videos_parse_all_links": {
|
||||
"message": "Все ссылки на видео"
|
||||
},
|
||||
"option_videos_parse_leave_links": {
|
||||
"message": "Оставлять ссылку на видео"
|
||||
},
|
||||
"option_embedding_soundcloud": {
|
||||
"message": "Soundcloud"
|
||||
},
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in a new issue