abdullahalt / enable the branch form

// ==UserScript==
// @name enable the branch form
// @version 1.3
// @include http://10.21.4.14:9090/ConnectMeFPApp/*
// @author abdullahalt
// @license MIT
// @require     https://greasyfork.org/scripts/21927-arrive-js/code/arrivejs.js?version=139586
// @copyright 2019, abdullahalt (https://openuserjs.org//users/abdullahalt)
// ==/UserScript==

$(document).arrive(".form-control.reset-border.ng-valid-maxlength", function() {
    let abdullahalt_branchName= document.querySelector(".form-control.reset-border.ng-valid-maxlength");
    if(abdullahalt_branchName.placeholder === "Branch Name"){
        abdullahalt_branchName.disabled = undefined;
    }
})