Browse Source

quick-reply.js: let's settle on disabled floating link by default

Conflicts:
	js/settings.js
pull/40/head
czaks 10 years ago
committed by Michael Foster
parent
commit
0c449f32db
  1. 4
      js/quick-reply.js
  2. 6
      js/settings.js

4
js/quick-reply.js

@ -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;

6
js/settings.js

@ -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…
Cancel
Save