Your IP : 3.138.204.67


Current Path : /var/www/www-root/data/webdav/www/info.monolith-realty.ru/bitrix/js/vote/
Upload File :
Current File : /var/www/www-root/data/webdav/www/info.monolith-realty.ru/bitrix/js/vote/comp_props.min.js

function IsNumeric(e){return!isNaN(parseFloat(e))&&isFinite(e)}function ComponentPropsVoteIPDelayUpdate(){if(BX("VOTE_UNIQUE_IP_DELAY_INPUT")){var e=BX.findChild(BX("VOTE_UNIQUE_IP_DELAY_INPUT").parentNode,{tagName:"INPUT",attrs:{"data-bx-property-id":"VOTE_UNIQUE_IP_DELAY"}});e.value=BX("VOTE_UNIQUE_IP_DELAY_INPUT").value+" "+BX("VOTE_UNIQUE_IP_DELAY_SELECT").value}}function ComponentPropsVoteIPDelay(e){var t=e.oInput.value;var o=t.split(" ");if(!IsNumeric(BX.util.trim(o[0])))o[0]=0;oInput=e.oCont.appendChild(BX.create("INPUT",{props:{id:"VOTE_UNIQUE_IP_DELAY_INPUT",type:"text",size:5,value:o[0]}}));oSelect=e.oCont.appendChild(BX.create("SELECT",{props:{id:"VOTE_UNIQUE_IP_DELAY_SELECT"}}));oInput.onkeypress=oSelect.onclick=oSelect.onkeyup=function(){setTimeout(ComponentPropsVoteIPDelayUpdate,50)};var p={S:"SECONDS",M:"MINUTES",H:"HOURS",D:"DAYS"};for(type in p)oSelect.appendChild(BX.create("OPTION",{props:{value:type}})).innerHTML=e.propertyParams.JS_LANG[p[type]];if(oSelected=BX.findChild(oSelect,{property:{value:o[1]}}))oSelected.setAttribute("selected","selected")}
//# sourceMappingURL=comp_props.map.js