Add warning about anonymous drive in localStorage

This commit is contained in:
yflory
2018-01-29 19:04:00 +01:00
parent e80e8339c2
commit ad2cde4705
3 changed files with 9 additions and 2 deletions

View File

@@ -1509,6 +1509,11 @@ define([
if (!APP.loggedIn) {
msg = Messages.fm_info_anonymous;
$box.html(msg);
$box.find('a[target!="_blank"]').click(function (e) {
e.preventDefault();
var href = $(this).attr('href');
common.gotoURL(href);
});
return $box;
}
if (!msg || APP.store['hide-info-' + path[0]] === '1') {