diff --git a/customize.dist/pages.js b/customize.dist/pages.js index 588358851..1fd1c1773 100644 --- a/customize.dist/pages.js +++ b/customize.dist/pages.js @@ -558,8 +558,7 @@ define([ placeholder: Msg.login_password, }), h('div.extra', [ - h('button.login.first.btn', Msg.login_login), - h('button#register.btn.register.cp-login-register', Msg.login_register) + h('button.login.first.btn', Msg.login_login) ]) ]) ]), diff --git a/customize.dist/src/less2/pages/page-login.less b/customize.dist/src/less2/pages/page-login.less index 3e5e4e77f..2b8064486 100644 --- a/customize.dist/src/less2/pages/page-login.less +++ b/customize.dist/src/less2/pages/page-login.less @@ -54,19 +54,11 @@ } .extra { margin-top: 1em; - .cp-login-register { - color: @cryptpad_color_blue; - background: #fff; - border: 2px solid @cryptpad_color_blue; - border-radius: 0; - &:hover { - transform: scale(1.05); - } - } .login { - background: transparent; - color: @cryptpad_color_blue; - padding: 0; + background: @cryptpad_color_blue; + color: #fff; + padding: 10px; + border-radius: 0; &:hover { transform: scale(1.05); } diff --git a/www/slide/slide.js b/www/slide/slide.js index 3477a6a32..4bfcacc4f 100644 --- a/www/slide/slide.js +++ b/www/slide/slide.js @@ -83,7 +83,7 @@ define([ var c = Slide.content; var m = ''+DiffMd.render(c).replace(separatorReg, '')+''; - DiffMd.apply(m, $content); + try { DiffMd.apply(m, $content); } catch (e) { return console.error(e); } var length = getNumberOfSlides(); $modal.find('style.cp-app-slide-style').remove();