We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 199e120 commit fc9703aCopy full SHA for fc9703a
plugins/chat/assets/javascripts/discourse/lib/lightbox.js
@@ -21,6 +21,13 @@ export default function lightbox(images) {
21
elementParse: (item) => {
22
item.src = item.el[0].dataset.largeSrc || item.el[0].src;
23
},
24
+ open: function () {
25
+ this.touchActionValue = document.body.style.touchAction;
26
+ document.body.style.touchAction = "";
27
+ },
28
+ close: function () {
29
+ document.body.style.touchAction = this.touchActionValue;
30
31
32
});
33
0 commit comments