File Editor
Directories:
.. (Back)
carousel
comment-likes
custom-post-types
images
infinite-scroll
likes
related-posts
scan
sharedaddy
shortcodes
theme-tools
tiled-gallery
videopress
widget-visibility
widgets
wordads
Files:
accessible-focus.min.asset.php
accessible-focus.min.js
admin.asset.php
admin.css
admin.js
admin.js.LICENSE.txt
admin.rtl.css
crowdsignal-shortcode.min.asset.php
crowdsignal-shortcode.min.js
crowdsignal-survey.min.asset.php
crowdsignal-survey.min.js
deprecate.min.asset.php
deprecate.min.js
facebook-embed.min.asset.php
facebook-embed.min.js
gallery-settings.min.asset.php
gallery-settings.min.js
jetpack-admin.min.asset.php
jetpack-admin.min.js
jetpack-deactivate-dialog.min.asset.php
jetpack-deactivate-dialog.min.js
jetpack-modules.min.asset.php
jetpack-modules.min.js
jetpack-modules.models.min.asset.php
jetpack-modules.models.min.js
jetpack-modules.views.min.asset.php
jetpack-modules.views.min.js
plugins-page.asset.php
plugins-page.css
plugins-page.js
plugins-page.js.LICENSE.txt
plugins-page.rtl.css
polldaddy-shortcode.min.asset.php
polldaddy-shortcode.min.js
static-noscript-notice.html
static-version-notice.html
static.html
static.js.LICENSE.txt
style.min.css
style.min.rtl.css
twitter-timeline.min.asset.php
twitter-timeline.min.js
Create New File
Create
Edit File: jetpack-deactivate-dialog.min.js
!function(t){var a=deactivate_dialog.tracksUserData;analytics.initialize(a.userid,a.username);var e=t("tr[data-slug=jetpack] > td.plugin-title > div > span.deactivate > a"),i=e.attr("href");window.deactivateJetpack=function(){window.location.href=i};var n=new MutationObserver((function(a){a.forEach((function(a){"childList"===a.type&&a.addedNodes.forEach((function(a){"TB_window"===a.id&&(t("#TB_window").addClass("jetpack-disconnect-modal"),deactivationModalCentralize(),t("#TB_closeWindowButton, #TB_overlay").on("click",(function(){deactivationModalTrackCloseEvent()})),document.onkeyup=function(t){27===(null===t?event.keyCode:t.which)&&deactivationModalTrackCloseEvent()},n.disconnect())}))}))}));window.deactivationModalCentralize=function(){var a=t("#TB_window.jetpack-disconnect-modal"),e=t(window).height()/2-t(a).height()/2;t(a).css("top",e+"px")},window.deactivationModalTrackCloseEvent=function(){analytics.tracks.recordEvent("jetpack_termination_dialog_close_click",c),document.onkeyup=""};var o=t("body")[0],c={location:"plugins",purpose:"deactivate"};e.attr("href","plugins.php#TB_inline?inlineId=jetpack_deactivation_dialog"),e.attr("title",deactivate_dialog.title),e.addClass("thickbox"),e.html(deactivate_dialog.deactivate_label),e.on("click",(function(){n.observe(o,{childList:!0}),analytics.tracks.recordEvent("jetpack_termination_dialog_open",c)})),t("#jetpack_deactivation_dialog_content__button-cancel").on("click",(function(){tb_remove(),deactivationModalTrackCloseEvent()})),t("#jetpack_deactivation_dialog_content__button-deactivate").on("click",(function(a){a.preventDefault(),t(this).prop("disabled",!0),analytics.tracks.recordEvent("jetpack_termination_dialog_termination_click",c),deactivateJetpack()}))}(jQuery);
Save Changes
Rename File
Rename