- [bug#60043,done,0.2h] remove js.
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
$(document).off('click', '.tipBtn').on('click', '.tipBtn', function(event)
|
||||
{
|
||||
const link = $(this).attr('href');
|
||||
if(typeof link == 'undefined') return true;
|
||||
|
||||
event.preventDefault();
|
||||
$.get(link, function(response)
|
||||
{
|
||||
try
|
||||
{
|
||||
response = JSON.parse(response);
|
||||
loadPage(link);
|
||||
}
|
||||
catch(e)
|
||||
{
|
||||
window.open(link);
|
||||
}
|
||||
});
|
||||
})
|
||||
Reference in New Issue
Block a user