Merge pull request #822 from pafcu/master
Add title to bb_observer tags to further clarify a bit what's going on
This commit is contained in:
commit
5c8aca9a61
@ -437,7 +437,7 @@ function bbcode($Text,$preserve_nl = false, $tryoembed = true) {
|
||||
|
||||
// replace [observer.baseurl]
|
||||
if ($observer) {
|
||||
$s1 = '<span class="bb_observer">';
|
||||
$s1 = '<span class="bb_observer" title="' . t('Different viewers will see this text differently') . '">';
|
||||
$s2 = '</span>';
|
||||
$obsBaseURL = $observer['xchan_connurl'];
|
||||
$obsBaseURL = preg_replace("/\/poco\/.*$/", '', $obsBaseURL);
|
||||
|
@ -148,7 +148,6 @@
|
||||
this.element = element;
|
||||
|
||||
this.options = $.extend({}, defaults, options);
|
||||
|
||||
$(this.element).data({
|
||||
defaultHeight: this.options.collapsedHeight,
|
||||
heightMargin: this.options.heightMargin
|
||||
@ -159,9 +158,11 @@
|
||||
this._defaults = defaults;
|
||||
this._name = readmore;
|
||||
|
||||
window.addEventListener('load', function() {
|
||||
// Waiting for the page to load doesn't work when there is dynamic content
|
||||
// But usually we already have the content, so no need to wait
|
||||
//window.addEventListener('load', function() {
|
||||
$this.init();
|
||||
});
|
||||
//});
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user