[Gmedia Gallery] Phantom module bug when maximize chrome
-
Hi, I’m using new version o phantom module and it seems to be broken when I maximize my web browser. Look down:
[url=https://postimg.org/image/9f90z88g1/][img]https://s32.postimg.org/9f90z88g1/phantom_module_bug.png[/img][/url]
It’s not occurring when I’m using the old version of phantom module (Phantom old). Comparing both javascript of old and new version I found a way to fix this problem.
Open jquery.gmPhantom.js
find:
setTimeout(function(){ opt.width = $(Container).width(); }, 0);
And replace it for:
opt.width = $(Container).width();
I don’t know why, but when it uses setTimeout it doesn’t execute the function opt.width = $(Container).width(); if we maximize the browser.
Plugin url: https://www.ads-software.com/plugins/grand-media/
- The topic ‘[Gmedia Gallery] Phantom module bug when maximize chrome’ is closed to new replies.