Ability to use Ctrl+click on the cryptpad logo in apps

pull/1/head
yflory 8 years ago
parent 7497e0d1c5
commit 7762ffcbff

@ -321,13 +321,6 @@ define([
var $span = $('<span>').text('CryptPad'); var $span = $('<span>').text('CryptPad');
var $aTagBig = $aTagSmall.clone().addClass('large').append($span); var $aTagBig = $aTagSmall.clone().addClass('large').append($span);
$aTagSmall.addClass('narrow'); $aTagSmall.addClass('narrow');
var onClick = function (e) {
e.preventDefault();
window.location = "/";
};
$aTagBig.click(onClick);
$aTagSmall.click(onClick);
$linkContainer.append($aTagSmall).append($aTagBig); $linkContainer.append($aTagSmall).append($aTagBig);
}; };

@ -27,7 +27,6 @@ define([
APP._onRefresh.push(h); APP._onRefresh.push(h);
}; };
var refresh = APP.refresh = function () { var refresh = APP.refresh = function () {
console.log('chnge');
APP._onRefresh.forEach(function (h) { APP._onRefresh.forEach(function (h) {
h(); h();
}); });

Loading…
Cancel
Save