make sure links open in new tabs
This commit is contained in:
parent
822541b689
commit
ecbe4aea31
|
@ -18,7 +18,7 @@ $(document).ready(function(){
|
||||||
version = oc_updateState.updateVersion,
|
version = oc_updateState.updateVersion,
|
||||||
docLink = oc_updateState.updateLink,
|
docLink = oc_updateState.updateLink,
|
||||||
text = t('core', '{version} is available. Get more information on how to update.', {version: version}),
|
text = t('core', '{version} is available. Get more information on how to update.', {version: version}),
|
||||||
element = $('<a>').attr('href', docLink).text(text);
|
element = $('<a>').attr('href', docLink).attr('target','_blank').text(text);
|
||||||
|
|
||||||
OC.Notification.showTemporary(
|
OC.Notification.showTemporary(
|
||||||
element,
|
element,
|
||||||
|
|
Loading…
Reference in New Issue