define(["require","exports","../shared/MotionInitiatorShow"],function(t,i){"use strict";var n=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 i=t.target;bootbox.confirm(__t("std","del_confirm"),function(t){t&&i.submit()})},t.prototype.shareLinkClicked=function(t){var i=$(t.currentTarget).attr("href");window.open(i,"_blank","width=600,height=460")&&t.preventDefault()},t}();new n});
//# sourceMappingURL=AmendmentShow.js.map
