Skip to content

Commit b677c74

Browse files
committed
Do not alter inputs of all admin views
1 parent 0000641 commit b677c74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

netlify-webhook-deploy.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ public function run_the_mighty_javascript() {
116116
<script type="text/javascript" >
117117
jQuery(document).ready(function($) {
118118
var _this = this;
119-
$( "td > input" ).css( "width", "100%");
119+
$( ".webhook-deploy_page_deploy_webhook_fields_sub td > input" ).css( "width", "100%");
120120

121121
var webhook_url = '<?php echo(get_option('webhook_address')) ?>';
122122
var netlify_user_agent = '<?php echo(get_option('netlify_user_agent')) ?>';
@@ -278,7 +278,7 @@ function netlifyDeploy() {
278278
}
279279

280280
$button.addClass('running').css('opacity', '0.5');
281-
281+
282282
netlifyDeploy().done(function() {
283283
var $badge = $('#admin-bar-netlify-deploy-status-badge');
284284

0 commit comments

Comments
 (0)