[IMP] website_event_track_live: remove js check for position-relative

In the fix introduced in https://github.com/odoo/odoo/pull/114341
we have added a 'position-relative' in the event_track_content
template. As it fixed a quite important issue on screen layout,
we also added a check in the JS to also impact stable instances
not updating their modules.

This commit removes this check in master.

Original task : 3215833

closes odoo/odoo#115515

Signed-off-by: Warnon Aurélien (awa) <awa@odoo.com>
This commit is contained in:
Noe Antoine
2023-03-16 15:19:41 +01:00
parent 72a7870985
commit 16d57b8e02
@@ -15,10 +15,6 @@ publicWidget.registry.websiteEventTrackLive = publicWidget.Widget.extend({
start: function () {
var self = this;
return this._super(...arguments).then(function () {
// Remove me in master. Make sure position-relative is set on o_wevent_event_track_live
// in stable otherwise suggestion screen is relative to the window, not to the youtube
// frame, breaking screen display. Loading wheel would not be centered either.
self.$el.addClass('position-relative');
self._setupYoutubePlayer();
});
},