登錄 / 註冊
> > > CDN - tooltips not popping up


主題的留言: CDN - tooltips not popping up
forbiddenlake
會員

帖子總數: 34
註冊: 2015/5/31
已發表: 2017/4/30 下午10: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
註冊: 2015/5/31
已發表: 2017/5/1 下午10: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
註冊: 2015/5/31
已發表: 2017/5/8 下午4: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
註冊: 2012/3/25
已發表: 2017/5/10 上午6:08

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

Jelan
管理員

帖子總數: 11389
註冊: 2001/5/4
已發表: 2017/5/26 上午10:40

Good catch, they both need to use https indeed. I will fix that asap !
Jelan
管理員

帖子總數: 11389
註冊: 2001/5/4
已發表: 2017/6/1 上午9:17

Fixed !