DmitrMakeev commited on
Commit
597b4c5
·
verified ·
1 Parent(s): 93c2d91

Update js/menu.js

Browse files
Files changed (1) hide show
  1. js/menu.js +1 -1
js/menu.js CHANGED
@@ -1 +1 @@
1
- !function(e){var o={};function n(t){if(o[t])return o[t].exports;var r=o[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=o,n.d=function(e,o,t){n.o(e,o)||Object.defineProperty(e,o,{enumerable:!0,get:t})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,o){if(1&o&&(e=n(e)),8&o)return e;if(4&o&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(n.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&o&&"string"!=typeof e)for(var r in e)n.d(t,r,function(o){return e[o]}.bind(null,r));return t},n.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(o,"a",o),o},n.o=function(e,o){return Object.prototype.hasOwnProperty.call(e,o)},n.p="",n(n.s=0)}([function(e,o){var n=window.menu_list;console.log(n);window.avp;var t=Number(window.grup),r=(window.pol_a,window.pol_b,window.red_url);var l;vkBridge.send("VKWebAppInit"),vkBridge.send("VKWebAppAllowMessagesFromGroup",{group_id:t,key:"cc964fabb0e1d70924a92e4e8b513dbff7cc10a9"}).then(e=>{console.log(e),1==e.result?vkBridge.send("VKWebAppGetUserInfo").then(e=>{console.log(e.id),console.log(e.first_name),console.log(e.last_name),console.log(e),e.id,e.id,l=e.photo_100,location.hash,console.log(location.hash),console.log(l),console.log(code_hash)}).catch(e=>{console.error("Error:",e)}):window.location.href=r}).catch(e=>{window.location.href=r}),document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll(".main-menu a").forEach(e=>{e.addEventListener("click",(function(e){e.preventDefault();const o=this.getAttribute("href");o&&"#"!==o&&(window.location.href=o)}))})})),document.addEventListener("contextmenu",(function(e){e.preventDefault()})),document.addEventListener("copy",(function(e){e.preventDefault()}))}]);
 
1
+ !function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t){document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll(".main-menu a").forEach(e=>{e.addEventListener("click",(function(e){e.preventDefault();const t=this.getAttribute("href");t&&"#"!==t&&(window.location.href=t)}))})})),document.addEventListener("contextmenu",(function(e){e.preventDefault()})),document.addEventListener("copy",(function(e){e.preventDefault()}))}]);