File tree Expand file tree Collapse file tree 2 files changed +0
-8
lines changed
readthedocs/core/static-src/core/js/doc-embed Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -22,10 +22,6 @@ var configMethods = {
22
22
return constants . ALABASTER_LIKE_THEMES . indexOf ( this . get_theme_name ( ) ) > - 1 ;
23
23
} ,
24
24
25
- theme_supports_paid_promo : function ( ) {
26
- return this . is_rtd_like_theme ( ) || this . is_alabaster_like_theme ( ) ;
27
- } ,
28
-
29
25
is_sphinx_builder : function ( ) {
30
26
return ( ! ( 'builder' in this ) || this . builder !== 'mkdocs' ) ;
31
27
} ,
Original file line number Diff line number Diff line change @@ -320,10 +320,6 @@ function init() {
320
320
request_data . project = rtd . project ;
321
321
request_data . theme = rtd . get_theme_name ( ) ;
322
322
323
- // These will get community only ads temporarily
324
- // After the fixed footer rollout is complete, this can be removed
325
- request_data . community_only = ( rtd . theme_supports_paid_promo ( ) || explicit_placement ) ? 0 : 1 ;
326
-
327
323
if ( typeof URL !== 'undefined' && typeof URLSearchParams !== 'undefined' ) {
328
324
// Force a specific promo to be displayed
329
325
params = new URL ( window . location ) . searchParams ;
You can’t perform that action at this time.
0 commit comments