mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-12-02 17:07:32 -06:00
Fixed typo that prevented code highlighting. Sorry about that
This commit is contained in:
+1
-1
@@ -123,7 +123,7 @@ define(function (require) {
|
||||
|
||||
this.outputEditor.onMouseMove(function (e) {
|
||||
if (e === null || e.target === null || e.target.position === null) return;
|
||||
if (self.settings.hoverShowSource === true && !self.assembly) {
|
||||
if (self.settings.hoverShowSource === true && self.assembly) {
|
||||
var desiredLine = e.target.position.lineNumber - 1;
|
||||
if (!self.assembly[desiredLine]) {
|
||||
// We check that we actually have something to show at this point!
|
||||
|
||||
Reference in New Issue
Block a user