1
0
Fork 0
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:
Ian Millington 2015-10-23 09:24:15 +01:00
commit c39a1f5df6

View file

@ -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) {