remove big console.log, fix opacity

remotes/origin/hasaccess
Sanasol 8 years ago
parent e1d33dbfee
commit 806f95ac06
  1. 6
      web/src/components/CourseRedactor.vue
  2. 2
      web/src/sass/_common.sass

@ -957,15 +957,15 @@
watch: {
'course': {
handler: function (newValue, oldValue) {
console.log('watch', JSON.stringify(newValue), JSON.stringify(oldValue));
// console.log('watch', JSON.stringify(newValue), JSON.stringify(oldValue));
// Если курс загрузился и есть ID - делаем кнопки превью и публикации активными
console.log('newValue.id', newValue.id);
if (newValue.id) {
console.log('newValue.id disabled remove', newValue.id);
// console.log('newValue.id disabled remove', newValue.id);
$('#course-redactor__preview-button').removeAttr('disabled');
$('#course-redactor__publish-button').removeAttr('disabled');
}
console.log('courseSyncHook', this.courseSyncHook);
// console.log('courseSyncHook', this.courseSyncHook);
if (this.courseSyncHook || this.courseLoading) {
console.log('abort save draft', this.courseSyncHook, this.courseLoading);
return;

@ -3223,7 +3223,7 @@ a.grey-link
left: 0
width: 100%
height: 100%
background-image: linear-gradient(135deg, rgb(255, 226, 235) 0%, rgb(216, 245, 246) 100%)
background-image: linear-gradient(135deg, rgba(255, 226, 235, 0.75) 0%, rgba(216, 245, 246, 0.75) 100%)
z-index: -2
&__sidebar
flex: 0 0 calc(50% - 169px)

Loading…
Cancel
Save