mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-25 16:00:22 +01:00
quick-reply.js: let's settle on disabled floating link by default
Conflicts: js/settings.js
This commit is contained in:
parent
b769286bb4
commit
cd36ebe910
@ -393,7 +393,7 @@
|
||||
});
|
||||
|
||||
var floating_link = function() {
|
||||
if (!settings.get('floating_link', true))
|
||||
if (!settings.get('floating_link', false))
|
||||
return;
|
||||
$('<a href="javascript:void(0)" class="quick-reply-btn">'+_('Quick Reply')+'</a>')
|
||||
.click(function() {
|
||||
@ -406,7 +406,7 @@
|
||||
});
|
||||
};
|
||||
|
||||
if (settings.get('floating_link', true)) {
|
||||
if (settings.get('floating_link', false)) {
|
||||
$(window).ready(function() {
|
||||
if($('div.banner').length == 0)
|
||||
return;
|
||||
|
@ -30,7 +30,11 @@ tb_settings['quick-reply'] = {
|
||||
// Hide form when scrolled to top of page (where original form is visible)
|
||||
hide_at_top: true,
|
||||
// "Quick reply" button floating at the top right hand corner of the page at all times
|
||||
floating_link: true
|
||||
floating_link: false,
|
||||
// Show remote in quick reply
|
||||
show_remote: false,
|
||||
// Show embedding in quick reply
|
||||
show_embed: false
|
||||
};
|
||||
|
||||
// ajax.js
|
||||
|
Loading…
Reference in New Issue
Block a user