Common.js

From Young Beethoven
Jump to navigation Jump to search
Line 1: Line 1:
/* Any JavaScript here will be loaded for all users on every page load. */
/* Any JavaScript here will be loaded for all users on every page load. */
// Alter composition page name to feature composer
$(function () {
$(function () {
if($('input[name=composer]').length > 0) {
if($('input[name=composer]').length > 0) {

Revision as of 13:17, 13 June 2022

/* Any JavaScript here will be loaded for all users on every page load. */

// Alter composition page name to feature composer
$(function () {
	if($('input[name=composer]').length > 0) {
		$('#firstHeading').html($($('input[name=composer]')[0]).val()+'<br>'+$('#firstHeading').html());
	}
}());