Ability to use Ctrl+click on the cryptpad logo in apps
parent
7497e0d1c5
commit
7762ffcbff
|
@ -321,13 +321,6 @@ define([
|
|||
var $span = $('<span>').text('CryptPad');
|
||||
var $aTagBig = $aTagSmall.clone().addClass('large').append($span);
|
||||
$aTagSmall.addClass('narrow');
|
||||
var onClick = function (e) {
|
||||
e.preventDefault();
|
||||
window.location = "/";
|
||||
};
|
||||
|
||||
$aTagBig.click(onClick);
|
||||
$aTagSmall.click(onClick);
|
||||
|
||||
$linkContainer.append($aTagSmall).append($aTagBig);
|
||||
};
|
||||
|
|
|
@ -27,7 +27,6 @@ define([
|
|||
APP._onRefresh.push(h);
|
||||
};
|
||||
var refresh = APP.refresh = function () {
|
||||
console.log('chnge');
|
||||
APP._onRefresh.forEach(function (h) {
|
||||
h();
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue