Commit e30289ab authored by Jim Tittsler's avatar Jim Tittsler

Add special case for login/registration buttons

parent b18123c3
......@@ -411,6 +411,14 @@ function processPage(pi) {
// turn WEbutton into button
$('div.WEbutton a').addClass('btn btn-primary');
// registration buttons are a special case
$('div.WEbutton').each(function() {
if ($(this).hasClass('user_registration')) {
.attr('data-toggle', 'modal')
.attr('data-target', '#userModal');
// turn WEbox with WEbox-header into a panel
$('div.WEbox').each(function() {
var $header,
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment