Commit 899ee21abe33818119b0b2d3f8d444911572b6c5
1 parent
9c9d11b0
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
Always show visibility options
Showing
1 changed file
with
0 additions
and
12 deletions
Show diff stats
public/javascripts/article.js
| @@ -193,18 +193,6 @@ jQuery(function($) { | @@ -193,18 +193,6 @@ jQuery(function($) { | ||
| 193 | } | 193 | } |
| 194 | } | 194 | } |
| 195 | 195 | ||
| 196 | - if( $("#token-input-search-article-privacy-exceptions").length == 1 ) { | ||
| 197 | - show_hide_privacy_options(); | ||
| 198 | - show_hide_token_input(); | ||
| 199 | - } | ||
| 200 | - | ||
| 201 | - $(document).ready(function(){ | ||
| 202 | - show_hide_privacy_options(); | ||
| 203 | - }); | ||
| 204 | - | ||
| 205 | - //Hide / Show the text area | ||
| 206 | - $("#article_published_false").click(show_hide_privacy_options); | ||
| 207 | - $("#article_published_true").click(show_hide_privacy_options); | ||
| 208 | $(".custom_privacy_option").click(show_hide_token_input); | 196 | $(".custom_privacy_option").click(show_hide_token_input); |
| 209 | 197 | ||
| 210 | }); | 198 | }); |