mirror of
https://github.com/Oreolek/undum.git
synced 2024-06-01 07:48:10 +03:00
Merge pull request #45 from eykd/bug/bad-this-for-real
Fix bad reference to this (for real)
This commit is contained in:
commit
c39a1f5df6
|
@ -1619,9 +1619,8 @@
|
||||||
a.replaceWith($("<span>").addClass("ex_link").html(a.html()));
|
a.replaceWith($("<span>").addClass("ex_link").html(a.html()));
|
||||||
});
|
});
|
||||||
var contentToHide = $('#content .transient, #content ul.options');
|
var contentToHide = $('#content .transient, #content ul.options');
|
||||||
var that = this;
|
|
||||||
contentToHide.add($("#content a").filter(function(){
|
contentToHide.add($("#content a").filter(function(){
|
||||||
return that.attr("href").match(/[?&]transient[=&]?/);
|
return $(this).attr("href").match(/[?&]transient[=&]?/);
|
||||||
}));
|
}));
|
||||||
if (interactive) {
|
if (interactive) {
|
||||||
if (mobile) {
|
if (mobile) {
|
||||||
|
|
Loading…
Reference in a new issue