mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
fix 1 to 100%
This commit is contained in:
@@ -291,7 +291,7 @@ export class AgendaPage implements OnInit {
|
||||
try {
|
||||
this.myCal.update();
|
||||
this.myCal.loadEvents();
|
||||
this.onDropDownScrollWeal()
|
||||
// this.onDropDownScrollWeal()
|
||||
} catch (e) { }
|
||||
|
||||
//this.reloadCalendar();
|
||||
@@ -438,19 +438,19 @@ export class AgendaPage implements OnInit {
|
||||
|
||||
};
|
||||
|
||||
onDropDownScrollWeal() {
|
||||
// onDropDownScrollWeal() {
|
||||
|
||||
try {
|
||||
setTimeout(() => {
|
||||
document.querySelector('.dropdown-scroll-weel').querySelectorAll('.active')[0].scrollIntoView({ behavior: 'smooth', block: 'center' });
|
||||
setTimeout(() => {
|
||||
document.querySelector('.dropdown-scroll-weel').querySelectorAll('.active')[1].scrollIntoView({ behavior: 'smooth', block: 'center' });
|
||||
}, 300)
|
||||
}, 10)
|
||||
} catch (error) {
|
||||
// console.log(error)
|
||||
}
|
||||
}
|
||||
// try {
|
||||
// setTimeout(() => {
|
||||
// document.querySelector('.dropdown-scroll-weel').querySelectorAll('.active')[0].scrollIntoView({ behavior: 'smooth', block: 'center' });
|
||||
// setTimeout(() => {
|
||||
// document.querySelector('.dropdown-scroll-weel').querySelectorAll('.active')[1].scrollIntoView({ behavior: 'smooth', block: 'center' });
|
||||
// }, 300)
|
||||
// }, 10)
|
||||
// } catch (error) {
|
||||
// // console.log(error)
|
||||
// }
|
||||
// }
|
||||
|
||||
|
||||
currentMoth = {
|
||||
@@ -795,7 +795,7 @@ export class AgendaPage implements OnInit {
|
||||
try {
|
||||
this.myCal.update();
|
||||
this.myCal.loadEvents();
|
||||
this.onDropDownScrollWeal()
|
||||
// this.onDropDownScrollWeal()
|
||||
} catch (e) { }
|
||||
|
||||
this.updateEventListBox()
|
||||
@@ -817,7 +817,7 @@ export class AgendaPage implements OnInit {
|
||||
try {
|
||||
this.myCal.update();
|
||||
this.myCal.loadEvents();
|
||||
this.onDropDownScrollWeal()
|
||||
// this.onDropDownScrollWeal()
|
||||
} catch (e) { }
|
||||
|
||||
this.updateEventListBox()
|
||||
|
||||
Reference in New Issue
Block a user