Skip to content

Commit 1bcdabf

Browse files
authored
Merge pull request #209 from mreishman/3.4.1
3.4.1.1D
2 parents de62e77 + 5e2dad4 commit 1bcdabf

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

core/html/changelog.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
<li>
1515
Fixed bug with default values in config for archive
1616
</li>
17+
<li>
18+
Fixed js bug on pages about href for windows
19+
</li>
1720
</ul>
1821
</li>
1922
</ul>

core/js/main.js

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -789,15 +789,18 @@ function pollSuccessInner(dataInner, dataInnerPass, dataInnerPassMaster)
789789
}
790790
}
791791
var source = "#innerFirstDevBox"+noSpaceName+" .devBoxTitle a";
792-
var src = $(source)[0].href;
793-
if(typeof dataInner["website"] !== "undefined" && src !== dataInner["website"])
792+
if(source && $(source) && $(source)[0] && src)
794793
{
795-
var websitePass = dataInner["website"];
796-
if(dataInner["website"].indexOf("http") === -1)
794+
var src = $(source)[0].href;
795+
if(typeof dataInner["website"] !== "undefined" && src !== dataInner["website"])
797796
{
798-
websitePass = "http://"+dataInner["website"];
797+
var websitePass = dataInner["website"];
798+
if(dataInner["website"].indexOf("http") === -1)
799+
{
800+
websitePass = "http://"+dataInner["website"];
801+
}
802+
$(source)[0].href = websitePass;
799803
}
800-
$(source)[0].href = websitePass;
801804
}
802805
}
803806
addGroup(dataInner["groupInfo"]);

0 commit comments

Comments
 (0)