aboutsummaryrefslogtreecommitdiff
path: root/assets_src
diff options
context:
space:
mode:
authorrtz12 <koenig@fagott.pw>2016-11-13 05:05:46 (UTC)
committerrtz12 <koenig@fagott.pw>2016-11-13 05:05:46 (UTC)
commit0741b7c8b0e24de234b308c644c38cd94daf3b07 (patch)
tree6b2b4e10d6c599c8ed5cd85c6569372201f58148 /assets_src
parentc6df1d768240d14e8129b51d6916931f1c4f35db (diff)
Nun kann man auch geil auf den Usernamen klicken
Diffstat (limited to 'assets_src')
-rw-r--r--assets_src/js/user.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/assets_src/js/user.js b/assets_src/js/user.js
index c697780..fb3ab7c 100644
--- a/assets_src/js/user.js
+++ b/assets_src/js/user.js
@@ -3,12 +3,11 @@ import * as dom from './lib/dom';
3function externalServiceClick(e) { 3function externalServiceClick(e) {
4 var row = dom.closest(e.target, (el) => el.classList.contains('authorizable')); 4 var row = dom.closest(e.target, (el) => el.classList.contains('authorizable'));
5 if (row === null) { 5 if (row === null) {
6 alert('nada');
7 return; 6 return;
8 } 7 }
9 var authType = row.getAttribute('data-auth-type'), 8 var authType = row.getAttribute('data-auth-type'),
10 authUrl = row.getAttribute('data-auth-url'), 9 authUrl = row.getAttribute('data-auth-url'),
11 coupleUrl = row.getAttribute('data-couple-url'); 10 coupleUrl = row.getAttribute('data-couple-url');
12 switch (authType) { 11 switch (authType) {
13 case 'copy-paste': 12 case 'copy-paste':
14 window.open(authUrl); 13 window.open(authUrl);