2021-08-02, 11:32 AM
Heya Guys!
I have a doubt I have working dvz shoutbox but suddenly it stopped working up.Whenever I enter up any message it shows up nothing except /? in url.
What could be the reason of such behaviour.
On console it shows out some error like this -:
and Line no. 595 Code start from here the starting line is 595 -:
Please help me with some possible causes.I have read some threads on the same but nothing good found soo far.
Thanks in advance.
I have a doubt I have working dvz shoutbox but suddenly it stopped working up.Whenever I enter up any message it shows up nothing except /? in url.
What could be the reason of such behaviour.
On console it shows out some error like this -:
Uncaught TypeError: $(...).on is not a function
at dvz_shoutbox.js:595
and Line no. 595 Code start from here the starting line is 595 -:
$('#shoutbox').on('click', '.entry .mod.edit', function() {
dvz_shoutbox.edit( $(this).parents('.entry').attr('data-id') );
return false;
});
$('#shoutbox').on('mousedown', '.entry[data-mod] .text', function() {
dvz_shoutbox.holdTimeout = setTimeout($.proxy(function() {
dvz_shoutbox.edit( $(this).parents('.entry').attr('data-id') );
}, this), 500);
}).bind('mouseup mouseleave mousemove', function() {
clearTimeout(dvz_shoutbox.holdTimeout);
});
$('#shoutbox').on('click', '.entry .mod.del', function(e) {
dvz_shoutbox.delete( $(this).parents('.entry').attr('data-id'), e.shiftKey );
return false;
});
$('#shoutbox').on('submit', '.panel form', function() {
dvz_shoutbox.shout();
return false;
});
Please help me with some possible causes.I have read some threads on the same but nothing good found soo far.
Thanks in advance.