PATH:
home
/
lab2454c
/
sothebankuab.com
/
wp-content
/
plugins
/
jetpack
/
modules
/
widgets
jQuery( function ( $ ) { function twitterWidgetTypeChanged( widgetTypeSelector ) { var selectedType = $( widgetTypeSelector ).val(); $( widgetTypeSelector ) .closest( '.jetpack-twitter-timeline-widget-type-container' ) .next( '.jetpack-twitter-timeline-widget-id-container' ) .find( 'label' ) .css( 'display', function () { var labelType = $( this ).data( 'widget-type' ); if ( selectedType === labelType ) { return ''; } else { return 'none'; } } ); } function twitterWidgetTweetDisplayChanged( event ) { var $tweetDisplaySelector = $( event.target ); var selectedTweetDisplay = $tweetDisplaySelector.val(); var $form = $tweetDisplaySelector.closest( 'form' ); var $heightContainer = $form.find( '.jetpack-twitter-timeline-widget-height-container' ); var $tweetLimitContainer = $form.find( '.jetpack-twitter-timeline-widget-tweet-limit-container' ); var $scrollbarInput = $form.find( 'input[id*=chrome-noscrollbar]' ); switch ( selectedTweetDisplay ) { case 'fixed': $heightContainer.hide(); $tweetLimitContainer.show(); $scrollbarInput.prop( 'disabled', true ); break; case 'dynamic': $tweetLimitContainer.hide(); $heightContainer.show(); $scrollbarInput.prop( 'disabled', false ); break; } } // We could either be in wp-admin/widgets.php or the Customizer. var $container = $( '#customize-controls' ); if ( ! $container.length ) { $container = $( '#wpbody' ); } // Observe widget settings for 'change' events of the 'type' property for // current and future Twitter timeline widgets. $container.on( 'change', '.jetpack-twitter-timeline-widget-type', function () { twitterWidgetTypeChanged( this ); } ); // Set the labels for currently existing widgets (including the "template" // version that is copied when a new widget is added). $container.find( '.jetpack-twitter-timeline-widget-type' ).each( function () { twitterWidgetTypeChanged( this ); } ); // Observe widget settings for 'change' events of the 'tweet-display' property for // current and future Twitter timeline widgets. $container.on( 'change', '.jetpack-twitter-timeline-widget-tweet-display-radio', twitterWidgetTweetDisplayChanged ); } );
[-] twitter-timeline.php
[edit]
[+]
search
[+]
flickr
[-] upcoming-events.php
[edit]
[-] search.php
[edit]
[+]
goodreads
[+]
migrate-to-core
[+]
..
[-] google-translate.php
[edit]
[-] facebook-likebox.php
[edit]
[+]
facebook-likebox
[-] image-widget.php
[edit]
[+]
social-media-icons
[-] wordpress-post-widget.php
[edit]
[-] goodreads.php
[edit]
[-] blog-stats.php
[edit]
[-] customizer-utils.js
[edit]
[+]
eu-cookie-law
[-] milestone.php
[edit]
[-] top-posts.php
[edit]
[+]
social-icons
[+]
authors
[-] twitter-timeline-admin.js
[edit]
[-] flickr.php
[edit]
[-] internet-defense-league.php
[edit]
[+]
simple-payments
[+]
image-widget
[-] class-jetpack-instagram-widget.php
[edit]
[-] social-icons.php
[edit]
[+]
milestone
[-] authors.php
[edit]
[-] gravatar-profile.php
[edit]
[-] customizer-controls.css
[edit]
[+]
top-posts
[+]
google-translate
[+]
my-community
[-] social-media-icons.php
[edit]
[-] eu-cookie-law.php
[edit]
[+]
contact-info
[-] mailchimp.php
[edit]
[-] simple-payments.php
[edit]
[-] contact-info.php
[edit]
[-] my-community.php
[edit]
[-] gravatar-profile.css
[edit]
[-] rsslinks-widget.php
[edit]
[+]
wordpress-post-widget
[+]
instagram
[+]
gallery
[-] gallery.php
[edit]