We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e68340 commit dfb3c77Copy full SHA for dfb3c77
pgmanage/app/static/pgmanage_frontend/src/main.js
@@ -38,6 +38,15 @@ ace.config.setModuleUrl('ace/theme/omnidb_dark', omniDarkURL)
38
39
axios.defaults.headers.common['X-CSRFToken'] = getCookie(v_csrf_cookie_name);
40
41
+document.addEventListener('auxclick', function(event) {
42
+ if (event.button === 1) {
43
+ event.preventDefault();
44
+ event.stopPropagation();
45
+ event.stopImmediatePropagation();
46
+ return false;
47
+ }
48
+});
49
+
50
settingsStore.getSettings().then(() => {
51
const app = createApp(App);
52
setupLogger(app);
0 commit comments