Skip to content

Commit

Permalink
Merge pull request #249 from sanemat/chore/remove-jquery-contents-1
Browse files Browse the repository at this point in the history
chore(content): issue title
  • Loading branch information
sanemat authored Nov 2, 2019
2 parents a936456 + c7fe5d6 commit 66ea173
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/scripts/contentscript.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
(function($){
var changeMergeButtonState = function() {
var $container = $('#js-repo-pjax-container');
var issueTitle = $container.find('.js-issue-title').text();
var container = document.querySelector('#js-repo-pjax-container');
var issueTitle = container.querySelector('.js-issue-title').textContent;
var $buttonMerge = $container.find('.merge-message button[data-details-container]');
var $buttonMergeOption = $container.find('.merge-message button[data-details-container] + .select-menu-button');
var disabled = false;
Expand Down

0 comments on commit 66ea173

Please sign in to comment.