forked from leftypol/leftypol
hud-pinning.js: fix inappropriate unpinning on image posting
This commit is contained in:
parent
86fc44d2f3
commit
909c2040da
|
@ -42,7 +42,7 @@ $(document).ready(function() {
|
||||||
|
|
||||||
// Reload on new post: allows it to work with auto-reload.js etc.
|
// Reload on new post: allows it to work with auto-reload.js etc.
|
||||||
$(document).on('new_post', function(e, post) {
|
$(document).on('new_post', function(e, post) {
|
||||||
setHudPinning(localStorage.hud_pinning === 'true');
|
setHudPinning(localStorage.hud_pinning !== 'false');
|
||||||
});
|
});
|
||||||
|
|
||||||
// Enforce the setting on loading.
|
// Enforce the setting on loading.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user