liqd / a4-meinberlin

The central participation platform of the city of Berlin, Germany
https://mein.berlin.de
GNU Affero General Public License v3.0
40 stars 6 forks source link

WIP: assets/js: add polyfill for Object.hasOwn() to make comments work #5710

Closed goapunk closed 1 month ago

goapunk commented 1 month ago

assets/js: add polyfill for Object.hasOwn() to make comments work on older browsers.

Describe your changes Brought over from a+ -> https://github.com/liqd/adhocracy-plus/pull/2742

Testing: Test on older browsers (e.g. safari 14) with any module which has comments

Tasks

hom3mad3 commented 1 month ago

cc @sblindow do we have a list of supported browsers bzw. devices?

goapunk commented 1 month ago

closing as we don't need to support safari 14 anymore.