Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $("body #bottom .relative").append('<div id="thecolorbtn" class="ugly-button 2_btn" style="position: fixed;bottom: 8px;right: 220px;width: 180px;">Сменить цвет/Change color</div>');
- $("#thecolorbtn").click(function(){
- MPP.client.emit("notification", { title: "Сменить цвет/Change color", html:"Укажите цвет/Choose color: <input type='color' id='woppdrawclr'> <button id='theclrbtn' onclick='MPP.addons.draw.customColor=document.getElementById(`woppdrawclr`).value'>Установить цвет/Set Color</button></br></input>",duration:-1,target:"#thecolorbtn"});});
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement