phpBB

Code Changes

File: assets/javascript/core.js

  Unmodified   Added   Modified   Removed
Line 935Line 935
	$anchor.each(function() {
var $this = $(this);
altText = $this.attr('data-alt-text');

	$anchor.each(function() {
var $this = $(this);
altText = $this.attr('data-alt-text');

		$this.attr('data-alt-text', $this.text());
$this.attr('title', $.trim(altText));
$this.text(altText);

		$this.attr('data-alt-text', $.trim($this.text()));
$this.attr('title', altText);
$this.children('span').text(altText);

	});
});


	});
});


Line 1332Line 1332
				marginLeft: 0,
left: 0,
marginRight: 0,

				marginLeft: 0,
left: 0,
marginRight: 0,

				right: 0,

 
				maxWidth: (windowWidth - 4) + 'px'
});


				maxWidth: (windowWidth - 4) + 'px'
});


Line 1644Line 1643
	});
};


	});
};


$(window).load(phpbb.lazyLoadAvatars);

$(window).on('load', phpbb.lazyLoadAvatars);


/**
* Apply code editor to all textarea elements with data-bbcode attribute


/**
* Apply code editor to all textarea elements with data-bbcode attribute