Remove coub original link option

This commit is contained in:
isqua 2015-01-31 13:58:05 +03:00
parent fad1e5e689
commit 82c2ef8442
4 changed files with 7 additions and 18 deletions

View file

@ -87,10 +87,7 @@
"message": "Pleer.com ▼" "message": "Pleer.com ▼"
}, },
"option_embedding_coubcom": { "option_embedding_coubcom": {
"message": "Coub.com ▼" "message": "Coub.com"
},
"option_embedding_coubcom_orig_link": {
"message": "Leave original link"
}, },
"option_embedding_twitter_tweets": { "option_embedding_twitter_tweets": {
"message": "Twitter" "message": "Twitter"

View file

@ -87,10 +87,7 @@
"message": "Pleer.com ▼" "message": "Pleer.com ▼"
}, },
"option_embedding_coubcom": { "option_embedding_coubcom": {
"message": "Coub.com ▼" "message": "Coub.com"
},
"option_embedding_coubcom_orig_link": {
"message": "Не убирать ссылку"
}, },
"option_embedding_twitter_tweets": { "option_embedding_twitter_tweets": {
"message": "Twitter" "message": "Twitter"

View file

@ -1171,7 +1171,7 @@ function parse_coub_links(current_options) {
obj.parentElement.insertBefore(player, obj); obj.parentElement.insertBefore(player, obj);
if (current_options.is('option_embedding_coubcom_orig_link', false)) { if (current_options.is('option_embedding_remove_original_link')) {
$(obj).hide(); $(obj).hide();
} }
} }

View file

@ -112,15 +112,10 @@
</label> </label>
</div> </div>
<div class="option-node">
<input type="checkbox" name="option-embedding-coubcom" id="option-embedding-coubcom">
<label for="option-embedding-coubcom" data-i18n="option_embedding_coubcom"></label>
<label class="option-node"> <label class="option-node">
<input type="checkbox" name="option-embedding-coubcom-orig-link"> <input type="checkbox" name="option-embedding-coubcom">
<span data-i18n="option_embedding_coubcom_orig_link"></span> <span data-i18n="option_embedding_coubcom"></span>
</label> </label>
</div>
<label class="option-node"> <label class="option-node">
<input type="checkbox" name="option-embedding-twitter-tweets"> <input type="checkbox" name="option-embedding-twitter-tweets">