diff options
author | rtz12 <koenig@fagott.pw> | 2016-11-13 05:05:46 (UTC) |
---|---|---|
committer | rtz12 <koenig@fagott.pw> | 2016-11-13 05:05:46 (UTC) |
commit | 0741b7c8b0e24de234b308c644c38cd94daf3b07 (patch) | |
tree | 6b2b4e10d6c599c8ed5cd85c6569372201f58148 /assets_src/js | |
parent | c6df1d768240d14e8129b51d6916931f1c4f35db (diff) |
Nun kann man auch geil auf den Usernamen klicken
Diffstat (limited to 'assets_src/js')
-rw-r--r-- | assets_src/js/user.js | 3 |
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'; | |||
3 | function externalServiceClick(e) { | 3 | function 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); |