mirror of
https://github.com/Oreolek/undum.git
synced 2024-04-29 15:49:20 +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()));
|
||||
});
|
||||
var contentToHide = $('#content .transient, #content ul.options');
|
||||
var that = this;
|
||||
contentToHide.add($("#content a").filter(function(){
|
||||
return that.attr("href").match(/[?&]transient[=&]?/);
|
||||
return $(this).attr("href").match(/[?&]transient[=&]?/);
|
||||
}));
|
||||
if (interactive) {
|
||||
if (mobile) {
|
||||
|
|
Loading…
Reference in a new issue