Вход
> > > CDN - tooltips not popping up


Сообщений в теме: CDN - tooltips not popping up
forbiddenlake
Пользователь

Сообщений: 34
Регистрация: 31.05.2015
Отправлено: 30.04.2017, 22:46

So I admit this is probably something I don't understand fully
I'm transferring a site - http://yaret.us.to/riftfirsts/ to https://rift.events/firsts/
On the first, search for someone, for example "Flashwit". Hover over a What and the Magelo tooltip appears.
On the second, it doesn't. Though clicking the link goes to a valid Magelo database page.
Am I missing something or is there a bug in the Magelo Javascript?
forbiddenlake
Пользователь

Сообщений: 34
Регистрация: 31.05.2015
Отправлено: 01.05.2017, 22:10

The Javascript tries to load https://www.undefined/pack/magelo-bar-css2.css , which fails of course

Magelo.origin comes out as undefined on the console. It's (tried to) set here:
var _origin=" https://www."+Magelo.domain

Magelo.domain is also undefined

Firefox 45.9; Chrome 58
forbiddenlake
Пользователь

Сообщений: 34
Регистрация: 31.05.2015
Отправлено: 08.05.2017, 16:46

I am wondering if this line:
var re = /http:\/\/www\.([a-z]{0,5}magelo[cdn]{0,3}\.com)\/pack\/([a-z]{2,5})\/(([a-z]{2})\/)?magelo-bar\.js(?[^#]*)?(#.*)?/;

and this line:
this.href=this.href.replace(/^.*redirect.\/(http:\/\/[a-z]{2,8}.magelo.com.*)/,"$1");

both need an "s?"
Shehi
Пользователь

Сообщений: 17
Регистрация: 25.03.2012
Отправлено: 10.05.2017, 6:08

Same here: http://lodgeofsorceresses.com/topic/256-loot-table/

Jelan
Администратор

Сообщений: 11375
Регистрация: 04.05.2001
Отправлено: 26.05.2017, 10:40

Good catch, they both need to use https indeed. I will fix that asap !
Jelan
Администратор

Сообщений: 11375
Регистрация: 04.05.2001
Отправлено: 01.06.2017, 9:17

Fixed !