We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd7122b commit 07778baCopy full SHA for 07778ba
src/assets/js/dialog.js
@@ -954,8 +954,16 @@ export class KatexInputHelper {
954
var width = 20 + $("#tableMATRIX").width();
955
var height = 100 + $("#tableMATRIX").height();
956
if (width < 240) width = 240;
957
- if (height < 160) height = 160;
958
- $('#wMATRIX').dialog({ title: vme.getLocalText("MATRIX"), width: width, height: height });
+ if (height < 160) height = 160;
+
959
+ var options = $('#wMATRIX').dialog('options');
960
+ $('#wMATRIX').dialog({
961
+ title: vme.getLocalText("MATRIX"),
962
+ width: width,
963
+ height: height,
964
+ left: options.left, // HAS NO EFFECT !!
965
+ top: options.top
966
+ });
967
$('#wMATRIX').dialog('open');
968
}
969
0 commit comments