mirror of https://github.com/hashicorp/consul
17 lines
333 B
JavaScript
17 lines
333 B
JavaScript
//
|
|
// home.js
|
|
//
|
|
var Serf = Serf || {};
|
|
|
|
(function () {
|
|
|
|
// calls the given function if the given classname is found
|
|
function mobileHero() {
|
|
var jumbo = document.getElementById('jumbotron');
|
|
jumbo.className = jumbo.className + ' mobile-hero';
|
|
}
|
|
|
|
Serf.Home = {};
|
|
Serf.Home.mobileHero = mobileHero;
|
|
|
|
})(); |