Skip to content

Commit

Permalink
chore: new publish
Browse files Browse the repository at this point in the history
  • Loading branch information
minkostaev committed Jan 3, 2025
1 parent f13c7c6 commit 2ed09e6
Show file tree
Hide file tree
Showing 42 changed files with 25,323 additions and 243 deletions.
12 changes: 6 additions & 6 deletions _content/Radzen.Blazor/Radzen.Blazor.js
Original file line number Diff line number Diff line change
Expand Up @@ -978,7 +978,7 @@ window.Radzen = {
return;
}

if (e.code === 'NumpadDecimal') {
if (e.code === 'NumpadDecimal' && !isInteger) {
var cursorPosition = e.target.selectionEnd;
e.target.value = [e.target.value.slice(0, e.target.selectionStart), decimalSeparator, e.target.value.slice(e.target.selectionEnd)].join('');
e.target.selectionStart = ++cursorPosition;
Expand Down Expand Up @@ -1157,7 +1157,7 @@ window.Radzen = {
tooltipContent.classList.add('rz-top-tooltip-content');
position = 'top';
if (instance && callback) {
instance.invokeMethodAsync(callback, position);
try { instance.invokeMethodAsync(callback, position); } catch { }
}
}
}
Expand All @@ -1175,7 +1175,7 @@ window.Radzen = {
tooltipContent.classList.add('rz-left-tooltip-content');
position = 'left';
if (instance && callback) {
instance.invokeMethodAsync(callback, position);
try { instance.invokeMethodAsync(callback, position); } catch { }
}
}
}
Expand Down Expand Up @@ -1335,9 +1335,9 @@ window.Radzen = {

if (instance && callback) {
if (callback.includes('RadzenTooltip')) {
instance.invokeMethodAsync(callback, null);
try { instance.invokeMethodAsync(callback, null); } catch { }
} else {
instance.invokeMethodAsync(callback);
try { instance.invokeMethodAsync(callback); } catch { }
}
}
Radzen.popups = (Radzen.popups || []).filter(function (obj) {
Expand Down Expand Up @@ -1815,7 +1815,7 @@ window.Radzen = {
return this.createResizable(ref, instance);
},
destroyScheduler: function (ref) {
if (ref.resizeHandler) {
if (ref && ref.resizeHandler) {
window.removeEventListener('resize', ref.resizeHandler);
delete ref.resizeHandler;
}
Expand Down
Loading

0 comments on commit 2ed09e6

Please sign in to comment.