define(["require","exports","../shared/MotionInitiatorShow"],function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),new(function(){function t(){new MotionInitiatorShow,$("form.delLink").submit(this.delSubmit.bind(this)),$(".share_buttons a").click(this.shareLinkClicked.bind(this));var t=location.hash.split("#comm");2==t.length&&$("#comment"+t[1]).scrollintoview({top_offset:-100})}return t.prototype.delSubmit=function(t){t.preventDefault();var e=t.target;bootbox.confirm(__t("std","del_confirm"),function(t){t&&e.submit()})},t.prototype.shareLinkClicked=function(t){var e=$(t.currentTarget).attr("href");window.open(e,"_blank","width=600,height=460")&&t.preventDefault()},t}())});
//# sourceMappingURL=AmendmentShow.js.map
