mirror of
https://github.com/YunoHost/SSOwat.git
synced 2024-09-03 20:06:27 +02:00
[fix] Do not add hash when setAttribute an id.
This commit is contained in:
parent
c61521e880
commit
63fc1a3edb
1 changed files with 1 additions and 1 deletions
|
@ -202,7 +202,7 @@ domReady(function(){
|
|||
|
||||
// Create portal link
|
||||
var portal = document.createElement('a');
|
||||
portal.setAttribute('id', '#ynh-overlay-switch');
|
||||
portal.setAttribute('id', 'ynh-overlay-switch');
|
||||
portal.setAttribute('href', '/yunohost/sso/');
|
||||
portal.setAttribute('class', 'disableAjax');
|
||||
document.body.insertBefore(portal, null);
|
||||
|
|
Loading…
Add table
Reference in a new issue