mirror of
https://github.com/moodle/moodle.git
synced 2025-04-16 14:02:32 +02:00
MDL-42434 mod_chat: display the whole help text
When testing this issue was raised that the help text was cut-off. This patch should fix this issue changing the placement from right/left to top.
This commit is contained in:
parent
5e60d77da1
commit
69846652f1
@ -126,6 +126,12 @@ M.mod_chat_ajax.init = function(Y, cfg) {
|
||||
this.moveTo((e.pageX - 20), (e.pageY - 20));
|
||||
this.show();
|
||||
}, this.thememenu);
|
||||
|
||||
// Set the data-placement for the help-icon to display all the content.
|
||||
this.helpicon = Y.one('#button-send + a');
|
||||
this.dataset = this.helpicon.get('dataset');
|
||||
this.dataset.placement = 'top';
|
||||
this.helpicon.set('dataset', this.dataset);
|
||||
},
|
||||
|
||||
append_message : function(key, message, row) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user