after second trigred function button inside execute code twice : i make a game and i have problem that i cant solve.
I have function and inside i have buttons with .click(). After i execute function for second time buttons clicks execute code twice for example i post here a simple code with same problem. 

When i click 1st button alert is trigred onece. WHen i click 2nd and then 1st button alert is trigred twice. I want trigre alert just onece. Buttons must stay in function. Sorry for bad English

also jsfiddle here https://jsfiddle.net/o2gxgz9r/25237/

    function testf()
    {
	 $("#1").click(function()
		{
			alert("test");
		});
		
    $("#2").click(function()
	   {
            testf();
       });
     }
      testf();