mirror of
https://github.com/moodle/moodle.git
synced 2025-04-15 05:25:08 +02:00
MDL-9742 Replaced stray tabs with spaces
This commit is contained in:
parent
2ee60b4944
commit
9f439b177d
@ -401,22 +401,22 @@ function fix_column_width(colName) {
|
||||
|
||||
|
||||
/*
|
||||
Insert myValue at current cursor position
|
||||
*/
|
||||
Insert myValue at current cursor position
|
||||
*/
|
||||
function insertAtCursor(myField, myValue) {
|
||||
// IE support
|
||||
if (document.selection) {
|
||||
myField.focus();
|
||||
sel = document.selection.createRange();
|
||||
sel.text = myValue;
|
||||
}
|
||||
// Mozilla/Netscape support
|
||||
else if (myField.selectionStart || myField.selectionStart == '0') {
|
||||
var startPos = myField.selectionStart;
|
||||
var endPos = myField.selectionEnd;
|
||||
myField.value = myField.value.substring(0, startPos)
|
||||
+ myValue + myField.value.substring(endPos, myField.value.length);
|
||||
} else {
|
||||
myField.value += myValue;
|
||||
}
|
||||
// IE support
|
||||
if (document.selection) {
|
||||
myField.focus();
|
||||
sel = document.selection.createRange();
|
||||
sel.text = myValue;
|
||||
}
|
||||
// Mozilla/Netscape support
|
||||
else if (myField.selectionStart || myField.selectionStart == '0') {
|
||||
var startPos = myField.selectionStart;
|
||||
var endPos = myField.selectionEnd;
|
||||
myField.value = myField.value.substring(0, startPos)
|
||||
+ myValue + myField.value.substring(endPos, myField.value.length);
|
||||
} else {
|
||||
myField.value += myValue;
|
||||
}
|
||||
}
|
||||
|
@ -25,8 +25,8 @@
|
||||
<h1 class="headermain"><?php echo $heading ?></h1>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
</div>
|
||||
<div class="navbar clearfix">
|
||||
|
||||
<div class="navbar clearfix">
|
||||
|
||||
</div>
|
||||
<?php } else { // This is what gets printed on any other page with a heading
|
||||
?>
|
||||
|
@ -555,7 +555,7 @@ h6.main {
|
||||
|
||||
div.headermenu
|
||||
{
|
||||
position: absolute;
|
||||
top: 15px;
|
||||
right: 10px;
|
||||
}
|
||||
position: absolute;
|
||||
top: 15px;
|
||||
right: 10px;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user