Remove instagram original link option

This commit is contained in:
isqua 2015-01-31 13:38:06 +03:00
parent cb7cb397c1
commit fad1e5e689
2 changed files with 5 additions and 10 deletions

View file

@ -1578,7 +1578,7 @@ function instagram_posts_embedding_init(options) {
$link.before($imgLink);
if ( ! options.is('option_embedding_instagram_posts_orig_link')) {
if (options.is('option_embedding_remove_original_link')) {
$link.remove();
}
}

View file

@ -127,15 +127,10 @@
<span data-i18n="option_embedding_twitter_tweets"></span>
</label>
<div class="option-node">
<input type="checkbox" name="option-embedding-instagram-posts" id="option-embedding-instagram-posts">
<label for="option-embedding-instagram-posts" data-i18n="option_embedding_instagram_posts"></label>
<label class="option-node">
<input type="checkbox" name="option-embedding-instagram-posts-orig-link">
<span data-i18n="option_embedding_instagram_posts_orig_link"></span>
</label>
</div>
<label class="option-node">
<input type="checkbox" name="option-embedding-instagram-posts">
<span data-i18n="option_embedding_instagram_posts"></span>
</label>
<label class="option-node">
<input type="checkbox" name="option-embedding-remove-original-link">