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